start of computer integration tests
This commit is contained in:
1 parent
4fc0bfd3d8
commit
2ef8a78c32
4 files changed
+53
-14
No files matched your search
@@ -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