comparison OrthancFramework/UnitTestsSources/FrameworkTests.cpp @ 4677:521e39b3f2c0

Fix issue #146 (Update Anonyization to 2019c) - was actually updated to 2021b
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 03 Jun 2021 21:06:34 +0200
parents 9210e196cd98
children 7053502fbf97
comparison
equal deleted inserted replaced
4676:caf963ee3de9 4677:521e39b3f2c0
744 ASSERT_STREQ("Unknown", EnumerationToString(PhotometricInterpretation_Unknown)); 744 ASSERT_STREQ("Unknown", EnumerationToString(PhotometricInterpretation_Unknown));
745 ASSERT_THROW(StringToPhotometricInterpretation("Unknown"), OrthancException); 745 ASSERT_THROW(StringToPhotometricInterpretation("Unknown"), OrthancException);
746 746
747 ASSERT_EQ(DicomVersion_2008, StringToDicomVersion(EnumerationToString(DicomVersion_2008))); 747 ASSERT_EQ(DicomVersion_2008, StringToDicomVersion(EnumerationToString(DicomVersion_2008)));
748 ASSERT_EQ(DicomVersion_2017c, StringToDicomVersion(EnumerationToString(DicomVersion_2017c))); 748 ASSERT_EQ(DicomVersion_2017c, StringToDicomVersion(EnumerationToString(DicomVersion_2017c)));
749 ASSERT_EQ(DicomVersion_2021b, StringToDicomVersion(EnumerationToString(DicomVersion_2021b)));
749 750
750 for (int i = static_cast<int>(ValueRepresentation_ApplicationEntity); 751 for (int i = static_cast<int>(ValueRepresentation_ApplicationEntity);
751 i < static_cast<int>(ValueRepresentation_NotSupported); i += 1) 752 i < static_cast<int>(ValueRepresentation_NotSupported); i += 1)
752 { 753 {
753 ValueRepresentation vr = static_cast<ValueRepresentation>(i); 754 ValueRepresentation vr = static_cast<ValueRepresentation>(i);