From de628879bbc28ca8a1c93f293d7b6c49692ebe55 Mon Sep 17 00:00:00 2001 From: malaterre Date: Fri, 21 Jan 2005 16:07:54 +0000 Subject: [PATCH] ENH: Add test for GetCurrentDateTime. The two calls show a difference of one millisecond on my system --- Testing/TestUtil.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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; } -- 2.45.2