def test_are_not_orthogonal(self): a = Point(1, 0.7) b = Point(0.5, 1) assert not a.is_orthogonal(b)
def test_are_orthogonal(self): a = Point(0.5, 0.5) b = Point(-1, 1) assert a.is_orthogonal(b)
def test_are_not_orthogonal(self): a = Point(1, 0.7) b = Point(0.5, 1) assert not a.is_orthogonal(b)
def test_are_orthogonal(self): a = Point(0.5, 0.5) b = Point(-1, 1) assert a.is_orthogonal(b)