X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=Testing%2FTestAllReadCompareDicom.cxx;h=23563114b754b500921f210be3d6f65b8bc96472;hb=a7b06006e972ee6ebc04f177a1461d4d5ae2089a;hp=e3212a8500d8e324459ea0b9014bfd7683a51334;hpb=cb4c9422fb1923ce0a5bb8478a5f25e9c37410b8;p=gdcm.git diff --git a/Testing/TestAllReadCompareDicom.cxx b/Testing/TestAllReadCompareDicom.cxx index e3212a85..23563114 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/04/27 09:14:06 $ - Version: $Revision: 1.40 $ + Date: $Date: 2005/05/02 17:56:44 $ + Version: $Revision: 1.42 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -112,9 +112,10 @@ private: static const unsigned int HEADER_SIZE; }; +const unsigned int MAX_NUMBER_OF_DIFFERENCE = 10; const unsigned int TestFile::HEADER_SIZE = 20; -TestFile::TestFile(void) +TestFile::TestFile() { fileName = ""; readable=false; @@ -514,15 +515,21 @@ int InternalTest(std::string const &filename, << " compression : " << gdcm::Global::GetTS()->GetValue(ts) << std::endl; - std::cout << " list of pixels differing (pos : test - ref) :" + std::cout << " list of the first " << MAX_NUMBER_OF_DIFFERENCE + << " pixels differing (pos : test - ref) :" << std::endl; - for(int i=0;i