Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'BR_2017' of ssh://git.salome-platform.org/modules/hydro into BR_2017
[modules/hydro.git]
/
src
/
HYDRO_tests
/
test_HYDROData_Bathymetry.cxx
diff --git
a/src/HYDRO_tests/test_HYDROData_Bathymetry.cxx
b/src/HYDRO_tests/test_HYDROData_Bathymetry.cxx
index 202d1a7137356ca2a1f9ea1b270b70121d6837a6..1c0fc6edaef330264ede9456b75f64278ca925f3 100644
(file)
--- a/
src/HYDRO_tests/test_HYDROData_Bathymetry.cxx
+++ b/
src/HYDRO_tests/test_HYDROData_Bathymetry.cxx
@@
-136,7
+136,7
@@
void test_HYDROData_Bathymetry::testFileImport()
aTestPoint = gp_XY( 0.5, 0.5 );
anAltitude = aBathymetry->GetAltitudeForPoint( aTestPoint, 1 );
aTestPoint = gp_XY( 0.5, 0.5 );
anAltitude = aBathymetry->GetAltitudeForPoint( aTestPoint, 1 );
- CPPUNIT_ASSERT_DOUBLES_EQUAL( -0.
7127
, anAltitude, EPS );
+ CPPUNIT_ASSERT_DOUBLES_EQUAL( -0.
591602
, anAltitude, EPS );
aTestPoint = gp_XY( 1.5, 1 );
anAltitude = aBathymetry->GetAltitudeForPoint( aTestPoint, 1 );
aTestPoint = gp_XY( 1.5, 1 );
anAltitude = aBathymetry->GetAltitudeForPoint( aTestPoint, 1 );
@@
-144,15
+144,15
@@
void test_HYDROData_Bathymetry::testFileImport()
aTestPoint = gp_XY( 1.5, 0.7 );
anAltitude = aBathymetry->GetAltitudeForPoint( aTestPoint, 1 );
aTestPoint = gp_XY( 1.5, 0.7 );
anAltitude = aBathymetry->GetAltitudeForPoint( aTestPoint, 1 );
- CPPUNIT_ASSERT_DOUBLES_EQUAL(
-0.4116
, anAltitude, EPS );
+ CPPUNIT_ASSERT_DOUBLES_EQUAL(
-0.591602
, anAltitude, EPS );
aTestPoint = gp_XY( 1.5, -0.7 );
anAltitude = aBathymetry->GetAltitudeForPoint( aTestPoint, 1 );
aTestPoint = gp_XY( 1.5, -0.7 );
anAltitude = aBathymetry->GetAltitudeForPoint( aTestPoint, 1 );
- CPPUNIT_ASSERT_DOUBLES_EQUAL( -0.
0479
, anAltitude, EPS );
+ CPPUNIT_ASSERT_DOUBLES_EQUAL( -0.
271267
, anAltitude, EPS );
aTestPoint = gp_XY( 2, 3.5 );
anAltitude = aBathymetry->GetAltitudeForPoint( aTestPoint, 1 );
aTestPoint = gp_XY( 2, 3.5 );
anAltitude = aBathymetry->GetAltitudeForPoint( aTestPoint, 1 );
- CPPUNIT_ASSERT_DOUBLES_EQUAL( 13.
2525
, anAltitude, EPS );
+ CPPUNIT_ASSERT_DOUBLES_EQUAL( 13.
9454
, anAltitude, EPS );
aDoc->Close();
}
aDoc->Close();
}