@@ -166,12 +166,12 @@ def param_surface(u, v):
166
166
def test_get_start_and_end_Arrow3d ():
167
167
start , end = ORIGIN , np .array ([2 , 1 , 0 ], dtype = np .float64 )
168
168
arrow = Arrow3D (start , end )
169
- assert np .allclose (
170
- arrow . get_start (), start , atol = 0.01
171
- ), "start points of Arrow3D do not match"
172
- assert np .allclose (
173
- arrow . get_end (), end , atol = 0.01
174
- ), "end points of Arrow3D do not match"
169
+ assert np .allclose (arrow . get_start (), start , atol = 0.01 ), (
170
+ " start points of Arrow3D do not match"
171
+ )
172
+ assert np .allclose (arrow . get_end (), end , atol = 0.01 ), (
173
+ " end points of Arrow3D do not match"
174
+ )
175
175
176
176
177
177
def test_type_conversion_in_Line3D ():
@@ -188,11 +188,10 @@ def test_type_conversion_in_Arrow3D():
188
188
type_table = [type (item ) for item in [* line .get_start (), * line .get_end ()]]
189
189
bool_table = [t == np .float64 for t in type_table ]
190
190
assert all (bool_table ), "Types of start and end points are not np.float64"
191
-
191
+
192
192
assert np .allclose (arrow .get_start (), start , atol = 0.01 ), (
193
193
"start points of Arrow3D do not match"
194
194
)
195
195
assert np .allclose (arrow .get_end (), end , atol = 0.01 ), (
196
196
"end points of Arrow3D do not match"
197
197
)
198
-
0 commit comments