Handle(HYDROData_Object) aNewZone1c = Handle(HYDROData_Object)::DownCast( aNewZone1 );
BRepGProp::SurfaceProperties(aNewZone1c->GetTopShape(), G1);
- double diff = abs(G1.Mass()-m); //there is still a difference after calling of general fuse on complicated cases
+ double diff = fabs(G1.Mass()-m); //there is still a difference after calling of general fuse on complicated cases
CPPUNIT_ASSERT(diff < 20.0);
CPPUNIT_ASSERT_DOUBLES_EQUAL(23387.2, G1.Mass(), 0.1);
CPPUNIT_ASSERT_DOUBLES_EQUAL(23370.1, m, 0.1);