Browse Source

tests: add some fuzz to bullet plane shape testing

Needed to unbreak the test suite on macOS.
rdb 7 years ago
parent
commit
cf451bde23
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/bullet/test_bullet_bam.py

+ 1 - 1
tests/bullet/test_bullet_bam.py

@@ -117,7 +117,7 @@ def test_plane_shape():
     assert type(shape) is type(shape2)
     assert type(shape) is type(shape2)
     assert shape.margin == shape2.margin
     assert shape.margin == shape2.margin
     assert shape.name == shape2.name
     assert shape.name == shape2.name
-    assert shape.plane_normal == shape2.plane_normal
+    assert shape.plane_normal.almost_equal(shape2.plane_normal, 0.1)
     assert shape.plane_constant == shape2.plane_constant
     assert shape.plane_constant == shape2.plane_constant