X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestAllReadCompareDicom.cxx;h=bb428fd0903b006f0668f019cf88ece83c7c53fe;hb=42741e5f9bddec6ff604bffe74977848db3edf0a;hp=72ee3cc765b1c32bb2f2768a2bc99011795b6a0f;hpb=c4fa2e74a4ce56a0a8db54e4a70d404bec9fc8dd;p=gdcm.git diff --git a/Testing/TestAllReadCompareDicom.cxx b/Testing/TestAllReadCompareDicom.cxx index 72ee3cc7..bb428fd0 100644 --- a/Testing/TestAllReadCompareDicom.cxx +++ b/Testing/TestAllReadCompareDicom.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestAllReadCompareDicom.cxx,v $ Language: C++ - Date: $Date: 2005/08/30 14:40:30 $ - Version: $Revision: 1.46 $ + Date: $Date: 2005/10/18 08:35:46 $ + Version: $Revision: 1.48 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -399,7 +399,7 @@ int InternalTest(std::string const &filename, // new style gdcm::File *f = new gdcm::File(); - f->SetLoadMode ( GDCM_LD_ALL ); // Load everything + f->SetLoadMode ( gdcm::LD_ALL ); // Load everything f->SetFileName( filename ); f->Load(); @@ -485,10 +485,12 @@ int InternalTest(std::string const &filename, << " Scalar size: " << tested->GetFile()->GetPixelSize() << " # " << reference->GetScalarSize() << std::endl << " Number of scalar: " << tested->GetFile()->GetNumberOfScalarComponents() << " # " - << reference->GetNumberOfComponents() << std::endl; + << reference->GetNumberOfComponents() << std::endl + << " Pixel type: " << tested->GetFile()->GetPixelType() << std::endl; delete reference; delete tested; delete f; + return 1; } // Test the data size