We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5db8d56 commit ca6540cCopy full SHA for ca6540c
tests/compas/geometry/predicates/test_predicates_2.py
@@ -9,18 +9,18 @@ def test_is_point_in_circle_xy():
9
pt = [1, 2, 0] # only testing in xy
10
circle = [[[2, 2, 10], [0, 0, 1]], 4.7]
11
12
- assert is_point_in_circle_xy(pt, circle) == True
+ assert is_point_in_circle_xy(pt, circle) is True
13
14
pt_outside = [15, 15, 0]
15
- assert is_point_in_circle_xy(pt_outside, circle) == False
+ assert is_point_in_circle_xy(pt_outside, circle) is False
16
17
18
def test_is_point_in_circle_xy_class_input():
19
pt_inside = Point(1, 2, 0)
20
plane = Plane(Point(2, 2, 10), Vector(0, 0, 1))
21
radius = 4.7
22
circle = Circle(plane, radius)
23
- assert is_point_in_circle_xy(pt_inside, circle) == True
+ assert is_point_in_circle_xy(pt_inside, circle) is True
24
25
pt_outside = Point(15, 15, 0)
26
0 commit comments