We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dac1155 commit eb1f862Copy full SHA for eb1f862
test/test_chip8cpu.py
@@ -811,6 +811,12 @@ def test_misc_routines_raises_exception_on_unknown_op_codes(self):
811
self.cpu.misc_routines()
812
self.assertEqual("Unknown op-code: F0FF", str(context.exception))
813
814
+ def test_save_skip_routines_raises_exception_on_unknown_op_codes(self):
815
+ self.cpu.operand = 0x50FF
816
+ with self.assertRaises(UnknownOpCodeException) as context:
817
+ self.cpu.misc_routines()
818
+ self.assertEqual("Unknown op-code: 50FF", str(context.exception))
819
+
820
def test_scroll_down_called(self):
821
self.cpu.operand = 0x00C4
822
self.cpu.clear_return()
0 commit comments