17 lines
354 B
Rust
17 lines
354 B
Rust
use gemma::chip8::computer::Chip8Computer;
|
|
|
|
#[test]
|
|
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(), );
|
|
|
|
}
|