def test_crazy_eights_input_help(self): input_sys = InputSystem() result = input_sys.handle_crazy_eights_input("help") self.assertEqual(True, "matches either the suit" in result)
def test_crazy_eights_input_valid(self): input_sys = InputSystem() result = input_sys.handle_crazy_eights_input("Eight,Spades") self.assertEqual(True, "Player Hand" in result)
def test_crazy_eights_input_clear(self): input_sys = InputSystem() result = input_sys.handle_crazy_eights_input("clear") self.assertEqual(True, "History cleared" in result)
def test_crazy_eights_input_invalid(self): input_sys = InputSystem() result = input_sys.handle_crazy_eights_input("345") self.assertEqual(True, "Invalid input" in result)