コード例 #1
0
ファイル: tests.py プロジェクト: Dm17r1y/Chip8-emulator
 def test_check_not_pushed(self):
     Command.CheckNotPushed(self.interpreter).execute_command(42)
     self.assertEqual(0x200, self.interpreter.instruction_pointer)
     Command.CheckNotPushed(self.interpreter).execute_command(43)
     self.assertEqual(0x202, self.interpreter.instruction_pointer)