X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestUtil.cxx;h=9e884fbf7d57e030025b305f1d643a56efc28949;hb=38a3c00a7cd57220dc6ac9f960d36212f837032f;hp=2f4f47ae4cafaf566954b2620799bbfa3dec9b31;hpb=cf521dc44e9324000ac7e27703018189087df590;p=gdcm.git diff --git a/Testing/TestUtil.cxx b/Testing/TestUtil.cxx index 2f4f47ae..9e884fbf 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/17 18:01:59 $ + Version: $Revision: 1.17 $ 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);