From f1200d6afd0628c455b5a1747898e0eaba82e53c Mon Sep 17 00:00:00 2001 From: jpr Date: Thu, 30 Aug 2007 11:51:29 +0000 Subject: [PATCH] Add some verbosity (usefull at debugging time) --- Testing/TestReadWriteJPEG2000ReadCompare.cxx | 12 ++++++------ Testing/TestReadWriteJPEGReadCompare.cxx | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) 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 : " -- 2.45.1