@@ -99,8 +99,7 @@ def test_line_create_from_point_direction_length(point, direction, length):
9999 line = Line .from_point_direction_length (point , direction , length )
100100
101101 assert line .start == point
102- assert line .end == add_vectors (
103- point , scale_vector (normalize_vector (direction ), length ))
102+ assert line .end == add_vectors (point , scale_vector (normalize_vector (direction ), length ))
104103
105104
106105# =============================================================================
@@ -230,7 +229,8 @@ def test_line_accessors(p1, p2):
230229 ],
231230)
232231@pytest .mark .parametrize (
233- "distance" , [0 , 1 , 4 , - 9 , 3.3 , 0.00001 , - 0.00001 ],
232+ "distance" ,
233+ [0 , 1 , 4 , - 9 , 3.3 , 0.00001 , - 0.00001 ],
234234)
235235def test_line_point_from_start (p1 , p2 , distance ):
236236 line = Line (p1 , p2 )
@@ -254,7 +254,8 @@ def test_line_point_from_start(p1, p2, distance):
254254 ],
255255)
256256@pytest .mark .parametrize (
257- "distance" , [0 , 1 , 4 , - 9 , 3.3 , 0.00001 , - 0.00001 ],
257+ "distance" ,
258+ [0 , 1 , 4 , - 9 , 3.3 , 0.00001 , - 0.00001 ],
258259)
259260def test_line_point_from_end (p1 , p2 , distance ):
260261 line = Line (p1 , p2 )
0 commit comments