]> Creatis software - gdcm.git/blobdiff - Testing/TestBug.cxx
ENH: Finally fix setup.py.in. both binary and install mode are working again
[gdcm.git] / Testing / TestBug.cxx
index dbd378895c6d48c3d236e17d5f0aa178db7bd0a9..6f87e0ad21a081d4eeb4ca8a0b108f59208defa1 100644 (file)
@@ -4,10 +4,10 @@
 
 #include "gdcm.h"
 
-int bug1(int argc, char* argv[])
+int TestBug(int argc, char* argv[])
 {  
    gdcmHeader* e1;
-       
+
    if (argc > 1)
       e1 = new gdcmHeader( argv[1] );
    else {
@@ -15,7 +15,9 @@ int bug1(int argc, char* argv[])
       filename += "/test.acr";
       e1 = new gdcmHeader( filename.c_str() );
    }
-   e1->PrintPubDict();
+   //e1->PrintPubDict();
+   //e1->GetPubDict()->GetEntriesByKey();
+   e1->GetPubDict()->PrintByKey();
 
   return 0;
 }