Salome HOME
Merge remote-tracking branch 'origin/BR_1321_ECW' into BR_DEMO
[modules/hydro.git] / src / HYDRO_tests / test_HYDROData_LandCoverMap.cxx
index 96d6705793b33d413e4ca09d2359ddb3c0005ce2..ca87d407b85ea2fa8c8ac81c1c602a9a029f5447 100644 (file)
@@ -34,7 +34,6 @@
 #include <TestShape.h>
 #include <TopTools_ListOfShape.hxx>
 #include <AIS_DisplayMode.hxx>
-#include <Aspect_ColorScale.hxx>
 #include <BRepMesh_IncrementalMesh.hxx>
 #include <QString>
 #include <QColor>
@@ -50,7 +49,7 @@
 #include "HYDRO_trace.hxx"
 
 extern QString REF_DATA_PATH;
-const QString DEF_STR_PATH = qgetenv( "HYDRO_ROOT_DIR" ) + "/share/salome/resources/hydro/def_strickler_table.txt";
+const QString DEF_STR_PATH = qgetenv( "HYDRO_ROOT_DIR" ) + "/share/salome/resources/hydro/def_strickler_table_06.txt";
 
 void test_HYDROData_LandCoverMap::test_add_2_objects()
 {
@@ -1272,10 +1271,10 @@ void test_HYDROData_LandCoverMap::test_shp_clc_classification_check()
   CPPUNIT_ASSERT_EQUAL (coeffs[0], 0.0);
   CPPUNIT_ASSERT_EQUAL (coeffs[1], 0.0);
   CPPUNIT_ASSERT_EQUAL (coeffs[2], 0.0);
-  CPPUNIT_ASSERT_EQUAL (coeffs[3], 1.0522);
-  CPPUNIT_ASSERT_EQUAL (coeffs[4], 1.0223);
-  CPPUNIT_ASSERT_EQUAL (coeffs[5], 1.0221);
-  CPPUNIT_ASSERT_EQUAL (coeffs[6], 1.0522);
+  CPPUNIT_ASSERT_EQUAL (coeffs[3], 98.0);
+  CPPUNIT_ASSERT_EQUAL (coeffs[4], 26.0);
+  CPPUNIT_ASSERT_EQUAL (coeffs[5], 24.0);
+  CPPUNIT_ASSERT_EQUAL (coeffs[6], 98.0);
 
 }