mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
tests: fix unit test on 64-bit Ubuntu due to float imprecision
[skip ci]
This commit is contained in:
parent
f979c4d312
commit
4877e8350d
@ -88,8 +88,8 @@ def test_minkowski_sum_shape():
|
||||
assert type(shape) is type(shape2)
|
||||
assert shape.margin == shape2.margin
|
||||
assert shape.name == shape2.name
|
||||
assert shape.transform_a.compare_to(shape2.transform_a, True) == 0
|
||||
assert shape.transform_b.compare_to(shape2.transform_b, True) == 0
|
||||
assert shape.transform_a.mat.compare_to(shape2.transform_a.mat) == 0
|
||||
assert shape.transform_b.mat.compare_to(shape2.transform_b.mat) == 0
|
||||
assert type(shape.shape_a) == type(shape2.shape_a)
|
||||
assert type(shape.shape_b) == type(shape2.shape_b)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user