]> Creatis software - gdcm.git/commitdiff
cosmetics
authorjpr <jpr>
Wed, 13 Feb 2008 19:08:34 +0000 (19:08 +0000)
committerjpr <jpr>
Wed, 13 Feb 2008 19:08:34 +0000 (19:08 +0000)
Testing/TestInline.cxx
Testing/TestReadWriteReadCompare.cxx
Testing/TestSerieHelper.cxx

index a11eaff85a6cee5744b10a0b0551c5e2d1a7bac3..e6535c5cd583b4d495d3dabb564e7b313b0b4074 100755 (executable)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: TestInline.cxx,v $
   Language:  C++
-  Date:      $Date: 2007/10/30 09:07:46 $
-  Version:   $Revision: 1.17 $
+  Date:      $Date: 2008/02/13 19:08:34 $
+  Version:   $Revision: 1.18 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -206,6 +206,7 @@ int TestInline(int argc, char *argv[])
    std::cout << "Size of long      " << sizeof(long)      << std::endl;
    std::cout << "Size of float     " << sizeof(float)     << std::endl;
    std::cout << "Size of double    " << sizeof(double)    << std::endl;
+   std::cout << "Size of bool      " << sizeof(bool)    << std::endl;   
    std::cout << std::endl;
    std::cout << "Size of char*     " << sizeof(char*)     << std::endl;
    std::cout << "Size of short int*" << sizeof(short int*)<< std::endl;
index 18e87875a773a3a586ac45ebd7ef89b453d524c1..9a9c95bb648242fdc3102be5053bcc9b7a8419da 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: TestReadWriteReadCompare.cxx,v $
   Language:  C++
-  Date:      $Date: 2007/10/25 07:57:33 $
-  Version:   $Revision: 1.36 $
+  Date:      $Date: 2008/02/13 19:08:34 $
+  Version:   $Revision: 1.37 $
 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -165,7 +165,7 @@ static int CompareInternal(std::string const &filename, std::string const &outpu
                     << " bytes differing (pos : original - written) :"
                     << std::endl;
 
-          for(int i=0, j1=0; i<dataSizeFixed && j1<MAX_NUMBER_OF_DIFFERENCE; i++)
+          for(unsigned int i=0, j1=0; i<dataSizeFixed && j1<MAX_NUMBER_OF_DIFFERENCE; i++)
           {
              if (abs ((int)imageData[i]-(int)imageDataWritten[i]) > 2)
              {
index cfa52140ff094e01a61701ffc3f62bb24f2873e5..c31129ec77b54a966c6c5ea06d7019000f691801 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: TestSerieHelper.cxx,v $
   Language:  C++
-  Date:      $Date: 2007/06/21 14:59:06 $
-  Version:   $Revision: 1.11 $
+  Date:      $Date: 2008/02/13 19:08:34 $
+  Version:   $Revision: 1.12 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -36,7 +36,7 @@ int TestSerieHelper(int argc, char *argv[])
    //   gdcm::Debug::DebugOn();
 
   
-   std::cout << "Dir Name :[" << dirName << "]" << std::endl;
+   std::cout << "-------------- Dir Name :[" << dirName << "]" << std::endl;
 
    s = GDCM_NAME_SPACE::SerieHelper::New();
    s->SetLoadMode(GDCM_NAME_SPACE::LD_ALL);     // Load everything for each File