]> Creatis software - gdcm.git/blobdiff - Testing/TestDataEntry.cxx
COMP: Fix comp for shared lib on win32
[gdcm.git] / Testing / TestDataEntry.cxx
index ebd4892feac192eb7ec2ac27fd3142b57c801c91..73ad2d4c931d1075edece91e0e2556617fe39708 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: TestDataEntry.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/10/23 19:46:17 $
-  Version:   $Revision: 1.6 $
+  Date:      $Date: 2005/10/24 01:17:54 $
+  Version:   $Revision: 1.8 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -27,15 +27,10 @@ const char fdata[] = "1.1\\2.2\\3.3\\4.4\\5.5";
 const int16_t svalue[]={1,2,3,4,5};
 const int32_t lvalue[]={1,2,3,4,5};
 const float fvalue[]={1.1f,2.2f,3.3f,4.4f,5.5f};
-// Temporary hack, assume that long and double are correlated
-#if GDCM_SIZEOF_LONG == 4
 const double dvalue[]={1.1,2.2,3.3,4.4,5.5};
-#else 
-const float dvalue[]={1.1,2.2,3.3,4.4,5.5};
-#endif
 
 const unsigned long nbvalue = 5;
-const float GDCM_EPS = 1e-6;
+const double GDCM_EPS = 1e-6;
 
 /**
   * \brief Test the DataEntry object