On aarch64, ppc64le, or s390x:
# self_touching
ok 82 124 triangles when expected 124
not ok 83 earcut deviation 0.000000% is not less than 0.000000%
ok 84 libtess2 deviation 0.001527% is less than 0.200000%
On x86_64, i686, or armv7hl/armhfp:
# self_touching
ok 82 124 triangles when expected 124
ok 83 earcut deviation 0.000000% is less than 0.000000%
ok 84 libtess2 deviation 0.001527% is less than 0.200000%
As you can see, the test output is not very informative. Changing the appropriate setprecision(6) to setprecision(16) in test/test.cpp gives, on all three failing architectures:
# self_touching
ok 82 124 triangles when expected 124
not ok 83 earcut deviation 0.0000000000052002% is not less than 0.0000000000043556%
ok 84 libtess2 deviation 0.0015267554740246% is less than 0.2000000000000000%
On
aarch64,ppc64le, ors390x:On
x86_64,i686, orarmv7hl/armhfp:As you can see, the test output is not very informative. Changing the appropriate
setprecision(6)tosetprecision(16)intest/test.cppgives, on all three failing architectures: