diff UnitTestsSources/FromDcmtkTests.cpp @ 1789:bdcc1dba4a53 worklists

optimization
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 18 Nov 2015 16:38:08 +0100
parents 1b1d5470233f
children f08978b1f45b
line wrap: on
line diff
--- a/UnitTestsSources/FromDcmtkTests.cpp	Wed Nov 18 16:11:28 2015 +0100
+++ b/UnitTestsSources/FromDcmtkTests.cpp	Wed Nov 18 16:38:08 2015 +0100
@@ -620,6 +620,12 @@
   }
 
   {
+    ParsedDicomFile d;
+    d.Replace(DICOM_TAG_PATIENT_ID, "my");
+    a.Add(d);
+  }
+
+  {
     DicomMap m;
     m.SetValue(DICOM_TAG_PATIENT_ID, "world");
     a.Add(m);
@@ -627,5 +633,7 @@
 
   Json::Value j;
   a.ToJson(j, true);
-  ASSERT_EQ(2u, j.size());
+  ASSERT_EQ(3u, j.size());
+
+  //std::cout << j;
 }