Skip to content

Commit ca6540c

Browse files
author
Katerina
committed
corrections on style
1 parent 5db8d56 commit ca6540c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/compas/geometry/predicates/test_predicates_2.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ def test_is_point_in_circle_xy():
99
pt = [1, 2, 0] # only testing in xy
1010
circle = [[[2, 2, 10], [0, 0, 1]], 4.7]
1111

12-
assert is_point_in_circle_xy(pt, circle) == True
12+
assert is_point_in_circle_xy(pt, circle) is True
1313

1414
pt_outside = [15, 15, 0]
15-
assert is_point_in_circle_xy(pt_outside, circle) == False
15+
assert is_point_in_circle_xy(pt_outside, circle) is False
1616

1717

1818
def test_is_point_in_circle_xy_class_input():
1919
pt_inside = Point(1, 2, 0)
2020
plane = Plane(Point(2, 2, 10), Vector(0, 0, 1))
2121
radius = 4.7
2222
circle = Circle(plane, radius)
23-
assert is_point_in_circle_xy(pt_inside, circle) == True
23+
assert is_point_in_circle_xy(pt_inside, circle) is True
2424

2525
pt_outside = Point(15, 15, 0)
26-
assert is_point_in_circle_xy(pt_outside, circle) == False
26+
assert is_point_in_circle_xy(pt_outside, circle) is False

0 commit comments

Comments
 (0)