Testing for makeElementEvolve

This commit is contained in:
bgbsww
2024-02-23 17:36:11 -05:00
committed by Chris Hennes
parent 6ee141e39e
commit 806be24fca
5 changed files with 128 additions and 51 deletions

View File

@@ -201,7 +201,7 @@ TEST_F(PartFeaturesTest, testReverse)
EXPECT_EQ(originalFaces[3].getShape().Orientation(), TopAbs_FORWARD);
EXPECT_EQ(originalFaces[4].getShape().Orientation(), TopAbs_REVERSED);
EXPECT_EQ(originalFaces[5].getShape().Orientation(), TopAbs_FORWARD);
EXPECT_DOUBLE_EQ(volume, -6.0);
EXPECT_DOUBLE_EQ(volume, 6.0);
EXPECT_DOUBLE_EQ(area, 22.0);
EXPECT_TRUE(PartTestHelpers::boxesMatch(bb, Base::BoundBox3d(0, 0, 0, 1, 2, 3)));
// Assert element map is correct