From: malaterre Date: Fri, 21 Jan 2005 16:07:54 +0000 (+0000) Subject: ENH: Add test for GetCurrentDateTime. The two calls show a difference of one millisec... X-Git-Tag: Version1.0.bp~221 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;ds=inline;h=de628879bbc28ca8a1c93f293d7b6c49692ebe55;p=gdcm.git ENH: Add test for GetCurrentDateTime. The two calls show a difference of one millisecond on my system --- diff --git a/Testing/TestUtil.cxx b/Testing/TestUtil.cxx index 24c285d5..a8393de5 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/01/06 19:10:07 $ - Version: $Revision: 1.6 $ + Date: $Date: 2005/01/21 16:07:54 $ + Version: $Revision: 1.7 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -23,6 +23,7 @@ int TestUtil(int , char * []) { + std::cout << "Time:" << gdcm::Util::GetCurrentDateTime() << std::endl; // Unique UID test std::cout << gdcm::Util::CreateUniqueUID("") << std::endl; @@ -46,5 +47,7 @@ int TestUtil(int , char * []) // MAC Adress std::cout << "Mac Address:" << gdcm::Util::GetMACAddress() << std::endl; + std::cout << "Time:" << gdcm::Util::GetCurrentDateTime() << std::endl; + return 0; }