[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -112,7 +112,7 @@ TEST_F(FeaturePartCommonTest, testBarelyIntersecting)
|
||||
_common->execute();
|
||||
Part::TopoShape ts = _common->Shape.getValue();
|
||||
double volume = PartTestHelpers::getVolume(ts.getShape());
|
||||
double target = PartTestHelpers::minimalDistance * 3; // 3 dimensions in a Volume
|
||||
double target = PartTestHelpers::minimalDistance * 3; // 3 dimensions in a Volume
|
||||
Base::BoundBox3d bb = ts.getBoundBox();
|
||||
|
||||
// Assert
|
||||
|
||||
@@ -129,7 +129,7 @@ TEST_F(FeaturePartCutTest, testBarelyIntersecting)
|
||||
_cut->execute();
|
||||
Part::TopoShape ts = _cut->Shape.getValue();
|
||||
double volume = PartTestHelpers::getVolume(ts.getShape());
|
||||
double target = 6 - PartTestHelpers::minimalDistance * 3; // 3 dimensions in a Volume
|
||||
double target = 6 - PartTestHelpers::minimalDistance * 3; // 3 dimensions in a Volume
|
||||
Base::BoundBox3d bb = ts.getBoundBox();
|
||||
|
||||
// Assert
|
||||
|
||||
@@ -130,7 +130,7 @@ TEST_F(FeaturePartFuseTest, testBarelyIntersecting)
|
||||
_fuse->execute();
|
||||
Part::TopoShape ts = _fuse->Shape.getValue();
|
||||
double volume = PartTestHelpers::getVolume(ts.getShape());
|
||||
double target = 12 - PartTestHelpers::minimalDistance * 3; // 3 dimensions in a Volume
|
||||
double target = 12 - PartTestHelpers::minimalDistance * 3; // 3 dimensions in a Volume
|
||||
Base::BoundBox3d bb = ts.getBoundBox();
|
||||
|
||||
// Assert
|
||||
|
||||
Reference in New Issue
Block a user