예제 #1
0
 def test_check_numbers_with_different_numbers_does_not_return_size_value_as_good(
         self):
     SECRET_NUMBER = '1234'
     TEST_VALUE = '1235'
     game = Game()
     result = game.check_numbers(TEST_VALUE, SECRET_NUMBER)
     self.assertNotEqual(result['good'], SIZE)
예제 #2
0
 def test_check_numbers_with_same_numbers_returns_size_value_as_good(self):
     SECRET_NUMBER = '1234'
     game = Game()
     result = game.check_numbers(SECRET_NUMBER, SECRET_NUMBER)
     self.assertEqual(result['good'], SIZE)