def test8(self): print("\n") m = [[1, 0, 0, 0], [1, 0, 0, 1], [1, 0, 1, 1], [0, 1, 0, 0]] square = Square(m) square.print() s = square.get() print(s) self.assertEqual(s, 0)
def test14(self): print("\n") m = [[1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1]] square = Square(m) square.print() s = square.get() print(s) self.assertEqual(s, 16)
def test3(self): print() m = [[1, 0, 0, 0, 1], [1, 0, 1, 1, 1], [0, 0, 1, 1, 1], [1, 0, 1, 1, 1]] square = Square(m) square.print() s = square.get() print(s) self.assertEqual(s, 9)