comparison UnitTestsSources/UnitTestsMain.cpp @ 2313:d19e716b79fa issue-46-anonymization

switch to anonymization according to DICOM 2017c
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 12 Jul 2017 22:07:07 +0200
parents 4dc313b9a20a
children ae6245053bcf
comparison
equal deleted inserted replaced
2312:8700dcaa02e5 2313:d19e716b79fa
648 648
649 ASSERT_STREQ("Unknown", EnumerationToString(PhotometricInterpretation_Unknown)); 649 ASSERT_STREQ("Unknown", EnumerationToString(PhotometricInterpretation_Unknown));
650 ASSERT_THROW(StringToPhotometricInterpretation("Unknown"), OrthancException); 650 ASSERT_THROW(StringToPhotometricInterpretation("Unknown"), OrthancException);
651 651
652 ASSERT_EQ(DicomVersion_2008, StringToDicomVersion(EnumerationToString(DicomVersion_2008))); 652 ASSERT_EQ(DicomVersion_2008, StringToDicomVersion(EnumerationToString(DicomVersion_2008)));
653 ASSERT_EQ(DicomVersion_2011, StringToDicomVersion(EnumerationToString(DicomVersion_2011)));
654 ASSERT_EQ(DicomVersion_2017c, StringToDicomVersion(EnumerationToString(DicomVersion_2017c))); 653 ASSERT_EQ(DicomVersion_2017c, StringToDicomVersion(EnumerationToString(DicomVersion_2017c)));
655 } 654 }
656 655
657 656
658 657