Skip to content
Snippets Groups Projects
Commit 92b26574 authored by Studer Gabriel's avatar Studer Gabriel
Browse files

avoid floating point accuracy edge case in unit test

Unit test reportedly failed on i386 architecture
parent eb3ce7c9
No related branches found
No related tags found
No related merge requests found
...@@ -183,8 +183,8 @@ class TestLinearDB(unittest.TestCase): ...@@ -183,8 +183,8 @@ class TestLinearDB(unittest.TestCase):
pos_2.append(geom.Vec3(-50000.34, -32.43, -33.2222)) pos_2.append(geom.Vec3(-50000.34, -32.43, -33.2222))
pos_2.append(geom.Vec3(50000.34, 32.43, 33.2222)) pos_2.append(geom.Vec3(50000.34, 32.43, 33.2222))
pos_3.append(geom.Vec3(87.909, 65.222, 1000.555)) pos_3.append(geom.Vec3(87.909, 65.222, 1000.556))
pos_3.append(geom.Vec3(87.909, 65.222, 1000.555)) pos_3.append(geom.Vec3(87.909, 65.222, 1000.556))
# get the rounded target values (the accuracy with which they) # get the rounded target values (the accuracy with which they)
# are stored in the container) # are stored in the container)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment