def test_new_point(self): new = Point(3, 3) self.assertEqual(new.x, 3) self.assertEqual(new.y, 3) self.assertEqual(new.isExist(), True)
def test_new_point_null(self): new = Point(None, 3) self.assertEqual(new.x, None) self.assertEqual(new.y, 3) self.assertEqual(new.isExist(), False)