def test_point_distance_squared_to_other(): p = Point() q = Point(2, 0) assert p.distance_squared(q) == 4
def test_point_distance_squared_to_self(): p = Point() assert p.distance_squared(p) == 0