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
Correction for hydro_test
[modules/hydro.git]
/
src
/
HYDRO_tests
/
test_HYDROGUI_BathymetryPrs.cxx
diff --git
a/src/HYDRO_tests/test_HYDROGUI_BathymetryPrs.cxx
b/src/HYDRO_tests/test_HYDROGUI_BathymetryPrs.cxx
index a250928903f61e80f630b12eadf0f23ddde6140b..99c2ea2ed31680e5243801b6fd39d876a9e23c81 100644
(file)
--- a/
src/HYDRO_tests/test_HYDROGUI_BathymetryPrs.cxx
+++ b/
src/HYDRO_tests/test_HYDROGUI_BathymetryPrs.cxx
@@
-64,7
+64,7
@@
void test_HYDROGUI_BathymetryPrs::test_presentation()
{
TestViewer::eraseAll( true, true );
Handle(HYDROData_Document) aDoc = HYDROData_Document::Document();
{
TestViewer::eraseAll( true, true );
Handle(HYDROData_Document) aDoc = HYDROData_Document::Document();
-
+
importTestBath( aDoc );
TestViewer::showColorScale( false );
importTestBath( aDoc );
TestViewer::showColorScale( false );
@@
-149,7
+149,7
@@
void test_HYDROGUI_BathymetryPrs::test_rescale_by_selection()
double min, max;
myBathPrs->GetRange( min, max );
double min, max;
myBathPrs->GetRange( min, max );
- CPPUNIT_ASSERT_DOUBLES_EQUAL( 17
7.78
, min, EPS );
+ CPPUNIT_ASSERT_DOUBLES_EQUAL( 17
5.56
, min, EPS );
CPPUNIT_ASSERT_DOUBLES_EQUAL( 182.70, max, EPS );
TestViewer::colorScale()->GetRange( min, max );
CPPUNIT_ASSERT_DOUBLES_EQUAL( 182.70, max, EPS );
TestViewer::colorScale()->GetRange( min, max );