Salome HOME
update after merging trhe branches CEA_V3_0_x, OCC_V3_1_0_a1_x, and the main
[modules/med.git] / src / MEDMEM / tests / testUCoordinate.cxx
index b43749ee3c2e497275f0e50489e52fbfb0b9e54b..22641db65200f48bcc60c089518be9563b5fb3a2 100755 (executable)
 //  File   : testUCoordinate.cxx
 //  Module : MED
 
-using namespace std;
 #include <cstdlib>
 #include <cmath>
-#include "utilities.h"
+#include "MEDMEM_Utilities.hxx"
 
 #include "MEDMEM_define.hxx"
 #include "MEDMEM_Array.hxx"
 #include "MEDMEM_Coordinate.hxx"
 #include <string> 
 
+using namespace std;
+using namespace MEDMEM;
+
 void usage(char * name)
 {
   cout << "    " << name << endl;
@@ -330,7 +332,7 @@ int main (int argc, char ** argv)
                        {
                                try
                                {
-                                       double d = mycoo.getCoordinate(num + 1,axe+1);
+                                       const double d = mycoo.getCoordinate(num + 1,axe+1);
                                        cout << d <<" , ";
                                        ASSERT(fabs(d - coor3[num])  < pouieme);
                                                ASSERT(fabs(d - coor2[(num * SpaceDim)+axe]) < pouieme);