Пример #1
0
 def test_check_line_false(self):
     x = ["o", "o", ""]
     self.assertFalse(Rules.check_line(x))
     x = ["", "o", ""]
     self.assertFalse(Rules.check_line(x))
     x = ["", "", ""]
     self.assertFalse(Rules.check_line(x))
     x = ["o", "o", "x"]
     self.assertFalse(Rules.check_line(x))
Пример #2
0
 def test_check_line_true(self):
     x = ["o", "o", "o"]
     self.assertTrue(Rules.check_line(x))