Fix failing test

This commit is contained in:
Rekai Musuka 2020-07-15 15:10:53 -05:00
parent 7acfaeb3a1
commit e1616caf06
1 changed files with 1 additions and 1 deletions

View File

@ -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() {