From: jpr Date: Thu, 30 Aug 2007 11:51:29 +0000 (+0000) Subject: Add some verbosity (usefull at debugging time) X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=f1200d6afd0628c455b5a1747898e0eaba82e53c;p=gdcm.git Add some verbosity (usefull at debugging time) --- diff --git a/Testing/TestReadWriteJPEG2000ReadCompare.cxx b/Testing/TestReadWriteJPEG2000ReadCompare.cxx index 9a097e0d..7cbc106d 100755 --- a/Testing/TestReadWriteJPEG2000ReadCompare.cxx +++ b/Testing/TestReadWriteJPEG2000ReadCompare.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestReadWriteJPEG2000ReadCompare.cxx,v $ Language: C++ - Date: $Date: 2007/08/30 11:29:03 $ - Version: $Revision: 1.1 $ + Date: $Date: 2007/08/30 11:51:29 $ + Version: $Revision: 1.2 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -154,9 +154,9 @@ static int CompareInternalJPEG2000(std::string const &filename, std::string cons if (j!=0) { - std::cout << " Failed" << std::endl + std::cout << std::endl << filename << " Failed" << " pixel (" - << PixelType + << PixelType << " b alloc " << file->GetBitsAllocated() << " b stored " << file->GetBitsStored() << ") differ (as expanded in memory)." << std::endl << " compression : " @@ -188,9 +188,9 @@ static int CompareInternalJPEG2000(std::string const &filename, std::string cons } else { - std::cout << " some pixels" << std::endl + std::cout << std::endl << filename << " : some pixels" << " (" - << PixelType + << PixelType << " b alloc " << file->GetBitsAllocated() << " b stored " << file->GetBitsStored() << ") differ +/-1 (as expanded in memory)." << std::endl << " compression : " diff --git a/Testing/TestReadWriteJPEGReadCompare.cxx b/Testing/TestReadWriteJPEGReadCompare.cxx index 47e3702c..87edc575 100755 --- a/Testing/TestReadWriteJPEGReadCompare.cxx +++ b/Testing/TestReadWriteJPEGReadCompare.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestReadWriteJPEGReadCompare.cxx,v $ Language: C++ - Date: $Date: 2007/08/30 10:16:58 $ - Version: $Revision: 1.5 $ + Date: $Date: 2007/08/30 11:51:29 $ + Version: $Revision: 1.6 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -154,9 +154,9 @@ static int CompareInternalJPEG(std::string const &filename, std::string const &o if (j!=0) { - std::cout << " Failed" << std::endl + std::cout << std::endl << filename << " Failed" << " pixel (" - << PixelType + << PixelType << " b alloc " << file->GetBitsAllocated() << " b stored " << file->GetBitsStored() << ") differ (as expanded in memory)." << std::endl << " compression : " @@ -188,9 +188,9 @@ static int CompareInternalJPEG(std::string const &filename, std::string const &o } else { - std::cout << " some pixels" << std::endl + std::cout << std::endl << filename << " : some pixels" << " (" - << PixelType + << PixelType << " b alloc " << file->GetBitsAllocated() << " b stored " << file->GetBitsStored() << ") differ +/-1 (as expanded in memory)." << std::endl << " compression : "