Fix failing test
This commit is contained in:
parent
7acfaeb3a1
commit
e1616caf06
|
@ -450,7 +450,7 @@ mod test {
|
||||||
let chip8: Chip8 = Default::default();
|
let chip8: Chip8 = Default::default();
|
||||||
assert_eq!(chip8.pc, 0x200);
|
assert_eq!(chip8.pc, 0x200);
|
||||||
|
|
||||||
let slice: &[u8] = &chip8.memory[0..0x50];
|
let slice: &[u8] = &chip8.memory[0x50..0xA0];
|
||||||
let font_set: &[u8] = &Chip8::FONT_SET;
|
let font_set: &[u8] = &Chip8::FONT_SET;
|
||||||
|
|
||||||
for (i, byte) in slice.iter().enumerate() {
|
for (i, byte) in slice.iter().enumerate() {
|
||||||
|
|
Loading…
Reference in New Issue