X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestUtil.cxx;h=5f45350d5ce86217687f6d82bda08ea6bb0704d2;hb=4fd00ffbd309b3f6377e6a9e9475aa3fee49383f;hp=2f4f47ae4cafaf566954b2620799bbfa3dec9b31;hpb=cf521dc44e9324000ac7e27703018189087df590;p=gdcm.git diff --git a/Testing/TestUtil.cxx b/Testing/TestUtil.cxx index 2f4f47ae..5f45350d 100644 --- a/Testing/TestUtil.cxx +++ b/Testing/TestUtil.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestUtil.cxx,v $ Language: C++ - Date: $Date: 2005/10/21 08:35:13 $ - Version: $Revision: 1.16 $ + Date: $Date: 2005/11/30 11:40:26 $ + Version: $Revision: 1.19 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -90,6 +90,14 @@ int TestUtil(int , char *[]) dbl += 1.0; } + + std::cout << "Size of short int " << sizeof(short int) << std::endl; + std::cout << "Size of int " << sizeof(int) << std::endl; + std::cout << "Size of int* " << sizeof(int*) << std::endl; + 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; + // CreateCleanString std::string x = "a#@-bc\tdef"; std::string y = gdcm::Util::CreateCleanString(x); @@ -151,7 +159,7 @@ int TestUtil(int , char *[]) // ---------------------------------------------------------- // Let's test gdcm::Debug, now. std::cout << "GetDebugFlag : " << gdcm::Debug::GetDebugFlag() <