From d1f35e2668bea54aec87727b3e8c8bce5ac0ebe4 Mon Sep 17 00:00:00 2001 From: Johnathon Selstad Date: Tue, 17 Sep 2024 00:24:15 -0700 Subject: [PATCH] Disable test cheating? --- test/boolean_test.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test/boolean_test.cpp b/test/boolean_test.cpp index 558fa3ac8..058eaed11 100644 --- a/test/boolean_test.cpp +++ b/test/boolean_test.cpp @@ -391,8 +391,8 @@ TEST(Boolean, ConvexConvexMinkowski) { TEST(Boolean, NonConvexConvexMinkowski) { bool oldDeterministic = ManifoldParams().deterministic; - ManifoldParams().deterministic = true; - ManifoldParams().processOverlaps = true; + //ManifoldParams().deterministic = true; + //ManifoldParams().processOverlaps = true; Manifold sphere = Manifold::Sphere(1.2, 20); Manifold cube = Manifold::Cube({2.0, 2.0, 2.0}, true); @@ -412,14 +412,14 @@ TEST(Boolean, NonConvexConvexMinkowski) { ExportMesh("minkowski-nonconvex-convex.glb", sum.GetMeshGL(), {}); #endif - ManifoldParams().deterministic = oldDeterministic; - ManifoldParams().processOverlaps = false; + //ManifoldParams().deterministic = oldDeterministic; + //ManifoldParams().processOverlaps = false; } TEST(Boolean, NonConvexNonConvexMinkowski) { bool oldDeterministic = ManifoldParams().deterministic; - ManifoldParams().deterministic = true; - ManifoldParams().processOverlaps = true; + //ManifoldParams().deterministic = true; + //ManifoldParams().processOverlaps = true; Manifold tet = Manifold::Tetrahedron(); Manifold nonConvex = tet - tet.Rotate(0, 0, 90).Translate(vec3(1)); @@ -440,8 +440,8 @@ TEST(Boolean, NonConvexNonConvexMinkowski) { ExportMesh("minkowski-nonconvex-nonconvex.glb", sum.GetMeshGL(), {}); #endif - ManifoldParams().deterministic = oldDeterministic; - ManifoldParams().processOverlaps = false; + //ManifoldParams().deterministic = oldDeterministic; + //ManifoldParams().processOverlaps = false; } /**