Exemplo n.º 1
0
def test_has_all_numbers():
    assert sudoku.has_all_numbers([1, 5, 9, 8, 3, 6, 7, 2, 4])
    assert not sudoku.has_all_numbers([1, 1, 9, 8, 3, 6, 7, 2, 4])
    assert not sudoku.has_all_numbers([0, 1, 9, 8, 3, 6, 7, 2, 4])
 def test_has_all_numbers(self):
     self.assertTrue(sudoku.has_all_numbers([1,5,9,8,3,6,7,2,4]))
     self.assertFalse(sudoku.has_all_numbers([1,1,9,8,3,6,7,2,4]))
     self.assertFalse(sudoku.has_all_numbers([0,1,9,8,3,6,7,2,4]))
def test_has_all_numbers():
    assert sudoku.has_all_numbers([1, 5, 9, 8, 3, 6, 7, 2, 4])
    assert not sudoku.has_all_numbers([1, 1, 9, 8, 3, 6, 7, 2, 4])
    assert not sudoku.has_all_numbers([0, 1, 9, 8, 3, 6, 7, 2, 4])