erleben / OpenTissue

OpenTissue is a collection of generic algorithms and data structures for rapid development of interactive modeling and simulation.
http://www.opentissue.org
95 stars 26 forks source link

Investigate unit tests failures #19

Open ricortiz opened 4 years ago

ricortiz commented 4 years ago

See Dashboard.


D:/a/1/s/unit_tests/core/math/big/conjugate_gradient/src/unit_conjugate_gradient.cpp(42): error: in "opentissue_math_big_conjugate_gradient/random_test_case": difference{1.79769e+308} between real_type( x(i) ){-8.9409452132022289e-16} and real_type( y(i) ){0} exceeds 1%

*** 1 failure is detected in the test module "Master Test Suite"```

```Running 1 test case...
2 2 2 2 2 2 2 2 2 2 0 0 0 0 0 0 0 0 0 0 1 3 3 1 1 1 3 1 3 3 2 2 2 2 2 2 2 2 2 2 
D:/a/1/s/unit_tests/core/math/kmeans/src/unit_kmeans.cpp(106): error: in "opentissue_math_kmeans/simple_test": check cluster_order[0] != cluster_order[3] has failed
D:/a/1/s/unit_tests/core/math/kmeans/src/unit_kmeans.cpp(116): error: in "opentissue_math_kmeans/simple_test": check cluster_indexes[i] == cluster_order[2] has failed
D:/a/1/s/unit_tests/core/math/kmeans/src/unit_kmeans.cpp(116): error: in "opentissue_math_kmeans/simple_test": check cluster_indexes[i] == cluster_order[2] has failed
D:/a/1/s/unit_tests/core/math/kmeans/src/unit_kmeans.cpp(116): error: in "opentissue_math_kmeans/simple_test": check cluster_indexes[i] == cluster_order[2] has failed
D:/a/1/s/unit_tests/core/math/kmeans/src/unit_kmeans.cpp(116): error: in "opentissue_math_kmeans/simple_test": check cluster_indexes[i] == cluster_order[2] has failed
D:/a/1/s/unit_tests/core/math/kmeans/src/unit_kmeans.cpp(116): error: in "opentissue_math_kmeans/simple_test": check cluster_indexes[i] == cluster_order[2] has failed
[0.484478,-0.781069,1.03805]
D:/a/1/s/unit_tests/core/math/kmeans/src/unit_kmeans.cpp(124): error: in "opentissue_math_kmeans/simple_test": check dist < value_traits::half() has failed
[-3.92656,-0.157537,-0.538682]
[0.326725,3.90334,0.611383]
[0.484478,-0.781069,1.03805]
D:/a/1/s/unit_tests/core/math/kmeans/src/unit_kmeans.cpp(124): error: in "opentissue_math_kmeans/simple_test": check dist < value_traits::half() has failed

*** 8 failures are detected in the test module "Master Test Suite"```

```Running 1 test case...
D:/a/1/s/unit_tests/core/math/poloar_decomposition/src/unit_poloar_decomposition.cpp(57): error: in "opentissue_math_polar_decomposition/eigen_method": check maximum_deviation<epsilon has failed

*** 1 failure is detected in the test module "Master Test Suite"```

```Running 2 test cases...
unknown location(0): fatal error: in "opentissue_mesh_polymesh_voronoi/simple_test": memory access violation occurred at address 0x19363cc0, while attempting to  write to an inaccessible (or protected) address
D:\a\1\s\unit_tests\core\containers\polymesh_compute_voronoi\src\unit_polymesh_compute_voronoi.cpp(21): last checkpoint: "simple_test" test entry

*** 1 failure is detected in the test module "Master Test Suite"
Detected memory leaks!```

```Running 2 test cases...
D:/a/1/s/unit_tests/core/math/big/conjugate_gradient/src/unit_conjugate_gradient.cpp(42): error: in "opentissue_math_big_conjugate_gradient/random_test_case": difference{1.79769e+308} between real_type( x(i) ){2.3071055665674269e-15} and real_type( y(i) ){0} exceeds 1%

*** 1 failure is detected in the test module "Master Test Suite"```