Add ancient test file and add store file information at the end of the game
This commit is contained in:
@@ -13,3 +13,19 @@ fn mirage_1() {
|
||||
|
||||
todo!()
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn ancient_1() {
|
||||
let content = std::fs::read("testfiles/de_ancient.dem").unwrap();
|
||||
|
||||
let container = csdemo::Container::parse(&content).unwrap();
|
||||
|
||||
let frame_iter = csdemo::FrameIterator::parse(container.inner);
|
||||
assert_eq!(116676, frame_iter.count());
|
||||
|
||||
let output = csdemo::parser::parse(csdemo::FrameIterator::parse(container.inner)).unwrap();
|
||||
|
||||
assert_eq!("de_ancient", output.header.map_name());
|
||||
|
||||
todo!()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user