X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestDataEntry.cxx;h=190f50a4caca205379191043aa568b845b268a01;hb=b4c2328075505f0a7e95763848fa57a0337fe8b4;hp=ccfe73a5dcb997d4756cb0300cec2fb53fa54e4e;hpb=647c1b734961a8741a1c8f13f1080fc2966a0075;p=gdcm.git diff --git a/Testing/TestDataEntry.cxx b/Testing/TestDataEntry.cxx index ccfe73a5..190f50a4 100644 --- a/Testing/TestDataEntry.cxx +++ b/Testing/TestDataEntry.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestDataEntry.cxx,v $ Language: C++ - Date: $Date: 2006/03/22 13:20:36 $ - Version: $Revision: 1.10 $ + Date: $Date: 2006/04/07 14:14:40 $ + Version: $Revision: 1.12 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -37,11 +37,13 @@ const double GDCM_EPS = 1e-6; */ int TestDataEntry(int , char *[]) { + /* Most of the tests are out of date! + (we don't use any longer DictEntry to build a DocEntry! + unsigned int i; gdcm::DictEntry *dict; gdcm::DataEntry *entry; - - //------------------------------------------------------------------ + dict = gdcm::DictEntry::New(0x0003,0x0004); // SetVR *before* making the DataEntry! dict->SetVR("US"); @@ -571,5 +573,6 @@ int TestDataEntry(int , char *[]) //------------------------------------------------------------------ std::cout<