Example #1
0
 def test_check_pushed(self):
     Command.CheckPushed(self.interpreter).execute_command(42)
     self.assertEqual(0x202, self.interpreter.instruction_pointer)
     Command.CheckPushed(self.interpreter).execute_command(43)
     self.assertEqual(0x202, self.interpreter.instruction_pointer)