@@ -38,15 +38,15 @@ def test_polyline_divide_length_strict2(coords, expected):
3838 assert expected == Polyline (coords ).divide_polyline_by_length (80 , False )
3939
4040
41- @pytest .mark .parametrize ('coords, input, expected' , [
41+ @pytest .mark .parametrize ('coords,input,expected' , [
4242 ([[0.0 , 0.0 , 0.0 ], [1.0 , 0.0 , 0.0 ], [1.0 , 1.0 , 0.0 ], [0.0 , 1.0 , 0.0 ], [0.0 , 0.0 , 0.0 ]], math .pi / 2 , [Polyline ([[0.0 , 0.0 , 0.0 ], [1 , 0.0 , 0.0 ]]),
4343 Polyline ([[1 , 0.0 , 0.0 ], [1 , 1 , 0.0 ]]), Polyline ([[1 , 1 , 0.0 ], [0.0 , 1 , 0.0 ]]), Polyline ([[0.0 , 1 , 0.0 ], [0.0 , 0.0 , 0.0 ]])]),
4444])
4545def test_polyline_split_at_corners (coords , input , expected ):
4646 assert expected == Polyline (coords ).split_at_corners (input )
4747
4848
49- @pytest .mark .parametrize ('coords, input, expected' , [
49+ @pytest .mark .parametrize ('coords,input,expected' , [
5050 ([[0.0 , 0.0 , 0.0 ], [100.0 , 0.0 , 0.0 ]], [50 , 0 , 0 ], [1.0 , 0.0 , 0.0 ]),
5151 ([[0.0 , 0.0 , 0.0 ], [50.0 , 0.0 , 0.0 ], [100.0 , 100.0 , 0.0 ]], [50 , 0 , 0 ], [1.0 , 0.0 , 0.0 ]),
5252])
0 commit comments