start of computer integration tests
This commit is contained in:
@@ -6,4 +6,11 @@ fn smoke() { assert!(true) }
|
||||
#[test]
|
||||
fn test_rom_1_works() {
|
||||
let mut x = Chip8Computer::new();
|
||||
// Load the IBM rom and run it...
|
||||
|
||||
// ...then verify that the current video memory of the chip-8
|
||||
// simulator matches what we expect it to be
|
||||
|
||||
assert_eq!(x.dump_video_to_string(), );
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user