update test results
This commit is contained in:
parent
8fd091551e
commit
7c566ab9d3
20
src/game.rs
20
src/game.rs
|
@ -353,23 +353,39 @@ fn test_bitsy_omnibus() {
|
||||||
// fails because of sprite colours but also because a tile contains "NaN"
|
// fails because of sprite colours but also because a tile contains "NaN"
|
||||||
"src/test-resources/omnibus/DA88C287.bitsy.txt".to_string(),
|
"src/test-resources/omnibus/DA88C287.bitsy.txt".to_string(),
|
||||||
|
|
||||||
// fails because room wall array is not implemented - @todo investigate
|
// fails because room wall array is not implemented
|
||||||
// (this game uses room_format 1 - I thought it'd be using 0...)
|
// (this game uses room_format 1 - I thought it'd be using 0...)
|
||||||
"src/test-resources/omnibus/76EB6E4A.bitsy.txt".to_string(),
|
"src/test-resources/omnibus/76EB6E4A.bitsy.txt".to_string(),
|
||||||
"src/test-resources/omnibus/DC053B1A.bitsy.txt".to_string(),
|
"src/test-resources/omnibus/DC053B1A.bitsy.txt".to_string(),
|
||||||
"src/test-resources/omnibus/CD0609B6.bitsy.txt".to_string(),
|
"src/test-resources/omnibus/CD0609B6.bitsy.txt".to_string(),
|
||||||
|
"src/test-resources/omnibus/E45F178D.bitsy.txt".to_string(),
|
||||||
|
// not sure about this one but it uses room wall array
|
||||||
|
"src/test-resources/omnibus/748F77B5.bitsy.txt".to_string(),
|
||||||
|
"src/test-resources/omnibus/1998508E.bitsy.txt".to_string(),
|
||||||
|
"src/test-resources/omnibus/AB368CEC.bitsy.txt".to_string(),
|
||||||
|
|
||||||
// bad game data
|
// bad game data
|
||||||
"src/test-resources/omnibus/14C48FA0.bitsy.txt".to_string(),
|
"src/test-resources/omnibus/14C48FA0.bitsy.txt".to_string(),
|
||||||
|
"src/test-resources/omnibus/C63A0633.bitsy.txt".to_string(),
|
||||||
|
"src/test-resources/omnibus/C63A0633.bitsy.txt".to_string(),
|
||||||
|
|
||||||
// this one has font data appended to the end of the game data - is this valid?
|
// this one has font data appended to the end of the game data - is this valid?
|
||||||
"src/test-resources/omnibus/4B4EB988.bitsy.txt".to_string(),
|
"src/test-resources/omnibus/4B4EB988.bitsy.txt".to_string(),
|
||||||
|
|
||||||
|
// one of the dialogues has a trailing space - this should be allowed I think
|
||||||
|
"src/test-resources/omnibus/11018B25.bitsy.txt".to_string(),
|
||||||
|
"src/test-resources/omnibus/FEC6E602.bitsy.txt".to_string(),
|
||||||
|
|
||||||
|
// has an ending position of -1
|
||||||
|
"src/test-resources/omnibus/593BD9A6.bitsy.txt".to_string(),
|
||||||
];
|
];
|
||||||
|
|
||||||
let mut passes = 0;
|
let mut passes = 0;
|
||||||
let mut skips = 0;
|
let mut skips = 0;
|
||||||
|
|
||||||
for file in std::fs::read_dir("src/test-resources/omnibus").unwrap() {
|
let files = std::fs::read_dir("src/test-resources/omnibus").unwrap();
|
||||||
|
|
||||||
|
for file in files {
|
||||||
let path = file.unwrap().path();
|
let path = file.unwrap().path();
|
||||||
let nice_name = format!("{}", path.display());
|
let nice_name = format!("{}", path.display());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue