changeset 3693:7f0caf198641

fix dcmtk 3.6.1
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 25 Feb 2020 22:46:00 +0100
parents fd302ec6a502
children 9107cca846b6
files UnitTestsSources/DicomMapTests.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/UnitTestsSources/DicomMapTests.cpp	Tue Feb 25 22:32:07 2020 +0100
+++ b/UnitTestsSources/DicomMapTests.cpp	Tue Feb 25 22:46:00 2020 +0100
@@ -800,6 +800,9 @@
   ASSERT_EQ("UN", visitor.GetResult() ["00660040"]["vr"].asString());
   Toolbox::DecodeBase64(s, visitor.GetResult() ["00660040"]["InlineBinary"].asString());
   ASSERT_EQ("46", s);
+#if DCMTK_VERSION_NUMBER == 361
+  ASSERT_EQ("UL", visitor.GetResult() ["00660040"]["vr"].asString());
+  ASSERT_EQ(46, visitor.GetResult() ["00660040"]["Value"][0].asInt());
 #else
   ASSERT_EQ("OL", visitor.GetResult() ["00660040"]["vr"].asString());
   ASSERT_EQ(46, visitor.GetResult() ["00660040"]["Value"][0].asInt());