From e1616caf065797bd26f7a084994cfcb76d38f969 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Wed, 15 Jul 2020 15:10:53 -0500 Subject: [PATCH] Fix failing test --- src/emu.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu.rs b/src/emu.rs index b3b0af4..a809850 100644 --- a/src/emu.rs +++ b/src/emu.rs @@ -450,7 +450,7 @@ mod test { let chip8: Chip8 = Default::default(); 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; for (i, byte) in slice.iter().enumerate() {