comparison UnitTestsSources/DicomMapTests.cpp @ 3211:e1f6c089fe30

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 08 Feb 2019 13:12:03 +0100
parents 4a1c47e20685
children 304184684107
comparison
equal deleted inserted replaced
3210:4a1c47e20685 3211:e1f6c089fe30
728 ASSERT_EQ("OF", s); 728 ASSERT_EQ("OF", s);
729 729
730 #if DCMTK_VERSION_NUMBER < 361 730 #if DCMTK_VERSION_NUMBER < 361
731 ASSERT_EQ("UN", visitor.GetResult() ["00660040"]["vr"].asString()); 731 ASSERT_EQ("UN", visitor.GetResult() ["00660040"]["vr"].asString());
732 Toolbox::DecodeBase64(s, visitor.GetResult() ["00660040"]["InlineBinary"].asString()); 732 Toolbox::DecodeBase64(s, visitor.GetResult() ["00660040"]["InlineBinary"].asString());
733 ASSERT_EQ("16", s); 733 ASSERT_EQ("46", s);
734 #elif DCMTK_VERSION_NUMBER == 361 734 #elif DCMTK_VERSION_NUMBER == 361
735 ASSERT_EQ("UL", visitor.GetResult() ["00660040"]["vr"].asString()); 735 ASSERT_EQ("UL", visitor.GetResult() ["00660040"]["vr"].asString());
736 ASSERT_EQ(46, visitor.GetResult() ["00660040"]["Value"][0].asInt()); 736 ASSERT_EQ(46, visitor.GetResult() ["00660040"]["Value"][0].asInt());
737 #elif DCMTK_VERSION_NUMBER > 361 737 #elif DCMTK_VERSION_NUMBER > 361
738 ASSERT_EQ("OL", visitor.GetResult() ["00660040"]["vr"].asString()); 738 ASSERT_EQ("OL", visitor.GetResult() ["00660040"]["vr"].asString());