comparison UnitTestsSources/DicomMapTests.cpp @ 3693:7f0caf198641

fix dcmtk 3.6.1
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 25 Feb 2020 22:46:00 +0100
parents 4922bdd046dd
children 9107cca846b6
comparison
equal deleted inserted replaced
3692:fd302ec6a502 3693:7f0caf198641
798 798
799 #if DCMTK_VERSION_NUMBER < 361 799 #if DCMTK_VERSION_NUMBER < 361
800 ASSERT_EQ("UN", visitor.GetResult() ["00660040"]["vr"].asString()); 800 ASSERT_EQ("UN", visitor.GetResult() ["00660040"]["vr"].asString());
801 Toolbox::DecodeBase64(s, visitor.GetResult() ["00660040"]["InlineBinary"].asString()); 801 Toolbox::DecodeBase64(s, visitor.GetResult() ["00660040"]["InlineBinary"].asString());
802 ASSERT_EQ("46", s); 802 ASSERT_EQ("46", s);
803 #if DCMTK_VERSION_NUMBER == 361
804 ASSERT_EQ("UL", visitor.GetResult() ["00660040"]["vr"].asString());
805 ASSERT_EQ(46, visitor.GetResult() ["00660040"]["Value"][0].asInt());
803 #else 806 #else
804 ASSERT_EQ("OL", visitor.GetResult() ["00660040"]["vr"].asString()); 807 ASSERT_EQ("OL", visitor.GetResult() ["00660040"]["vr"].asString());
805 ASSERT_EQ(46, visitor.GetResult() ["00660040"]["Value"][0].asInt()); 808 ASSERT_EQ(46, visitor.GetResult() ["00660040"]["Value"][0].asInt());
806 #endif 809 #endif
807 810