This commit is contained in:
Trevor Merritt 2024-10-07 11:08:02 -04:00
parent 495745c19c
commit d4273dfb13

View File

@ -72,8 +72,10 @@ mod test {
}
#[test]
fn i_register_test() {
fn pc_test() {
let mut x = Chip8Registers::default();
x.set_pc(0x300);
assert_eq!(x.peek_pc(), 0x300);
}
}