Skip to content

Commit

Permalink
forgot these
Browse files Browse the repository at this point in the history
  • Loading branch information
elalish committed Dec 22, 2023
1 parent 84e08f2 commit 8fdf164
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions test/boolean_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ TEST(Boolean, SplitByPlane60) {
splits.second.GetProperties().volume, 1e-5);
}

TEST(Manifold, ConvexConvexMinkowski) {
TEST(Boolean, ConvexConvexMinkowski) {
float offsetRadius = 0.1f;
float cubeWidth = 2.0f;
Manifold sphere = Manifold::Sphere(offsetRadius, 20);
Expand All @@ -311,7 +311,7 @@ TEST(Manifold, ConvexConvexMinkowski) {
EXPECT_EQ(difference.Genus(), 0);
}

TEST(Manifold, NonConvexConvexMinkowski) {
TEST(Boolean, NonConvexConvexMinkowski) {
Manifold sphere = Manifold::Sphere(1.2, 20);
Manifold cube = Manifold::Cube({2.0, 2.0, 2.0}, true);
Manifold nonConvex = cube - sphere;
Expand All @@ -327,7 +327,7 @@ TEST(Manifold, NonConvexConvexMinkowski) {
EXPECT_EQ(difference.Genus(), 5);
}

TEST(Manifold, NonConvexNonConvexMinkowski) {
TEST(Boolean, NonConvexNonConvexMinkowski) {
bool oldDeterministic = ManifoldParams().deterministic;
ManifoldParams().deterministic = true;
PolygonParams().processOverlaps = true;
Expand All @@ -347,8 +347,7 @@ TEST(Manifold, NonConvexNonConvexMinkowski) {
EXPECT_EQ(difference.Genus(), 0);

#ifdef MANIFOLD_EXPORT
if (options.exportModels)
ExportMesh("minkowski.glb", difference.GetMesh(), {});
if (options.exportModels) ExportMesh("minkowski.glb", sum.GetMesh(), {});
#endif

ManifoldParams().deterministic = oldDeterministic;
Expand Down

0 comments on commit 8fdf164

Please sign in to comment.