def test_point_is_colinear_xy_false(): a = Point() b = Point(1, 2) c = Point(3, 3) assert not a.is_colinear(b, c)
def test_point_is_colinear_y_false(): a = Point() b = Point(x=1) c = Point(y=2) assert not a.is_colinear(b, c)
def test_point_is_colinear_xy_true(): a = Point() b = Point(1, 1) c = Point(2, 2) assert a.is_colinear(b, c)
def test_point_is_colinear_y_true(): a = Point() b = Point(y=1) c = Point(y=2) assert a.is_colinear(b, c)