Skip to content

Commit 1a488e7

Browse files
WIP-CI: test pure rotation case
1 parent 9ff439c commit 1a488e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration_tests/pybinds_tests/test_pybind_units.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def test_DFRegistration_pure_rotation():
191191

192192
def make_assertions(df_transformation_result):
193193
assert df_transformation_result is not None, "DFRegistration should return a transformation matrix"
194-
assert df_transformation_result.transformation_matrix[0][2] < -0.9, "The rotation part of transformation matrix should be close to the transposed rotation matrix initially applied "
194+
assert df_transformation_result.transformation_matrix[0][2] < -0.9, "The rotation part of transformation matrix should be close to the transposed rotation matrix initially applied"
195195
assert df_transformation_result.transformation_matrix[1][1] > 0.9, "The rotation part of transformation matrix should be close to the transposed rotation matrix initially applied"
196196
assert df_transformation_result.transformation_matrix[2][0] > 0.9, "The rotation part of transformation matrix should be close to the transposed rotation matrix initially applied"
197197

@@ -203,7 +203,7 @@ def make_assertions(df_transformation_result):
203203
r = dfb.dfb_transformation.DFTransformation()
204204
r.transformation_matrix = [[0.0, 0.0, 1.0, 0.0],
205205
[0.0, 1.0, 0.0, 0.0],
206-
[-1.0, 0.0, 1.0, 0.0],
206+
[-1.0, 0.0, 0.0, 0.0],
207207
[0.0, 0.0, 0.0, 1.0]] # 90 degree rotation around y-axis
208208

209209
pc_1 = mesh.sample_points_uniformly(1000)

0 commit comments

Comments
 (0)