示例#1
0
 def test_is_complete_correct_numbers(self):
     test_input = [1, 2, 3, 4, 5, 6, 7, 8, 9]
     expected = True
     actual = sudoku_checker.is_the_same(test_input)
     self.assertEqual(expected, actual, "The row is good")
示例#2
0
 def test_is_complete_correct_numbers_reversed(self):
     test_input = [9, 8, 7, 6, 5, 4, 3, 2, 1]
     expected = True
     actual = sudoku_checker.is_the_same(test_input)
     self.assertEqual(expected, actual, "The row is good")
示例#3
0
 def test_is_complete_repetitive_numbers(self):
     test_input = [1, 2, 2, 3, 4, 5, 6, 7, 9]
     expected = False
     actual = sudoku_checker.is_the_same(test_input)
     self.assertEqual(expected, actual, "There are repetitive numbers")