Mercurial > hg > orthanc
comparison UnitTestsSources/FromDcmtkTests.cpp @ 2401:a051aba0037c
Use "GBK" (frequently used in China) as an alias for "GB18030"
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 02 Sep 2017 11:50:08 +0200 |
parents | 7284093111b0 |
children | e4045b3c9772 |
comparison
equal
deleted
inserted
replaced
2400:f235cc740c4b | 2401:a051aba0037c |
---|---|
261 ASSERT_FALSE(GetDicomEncoding(e, "ISO 2022 IR 149")); //ASSERT_EQ(Encoding_Korean, e); | 261 ASSERT_FALSE(GetDicomEncoding(e, "ISO 2022 IR 149")); //ASSERT_EQ(Encoding_Korean, e); |
262 | 262 |
263 // http://dicom.nema.org/medical/dicom/current/output/html/part03.html#table_C.12-5 | 263 // http://dicom.nema.org/medical/dicom/current/output/html/part03.html#table_C.12-5 |
264 ASSERT_TRUE(GetDicomEncoding(e, "ISO_IR 192")); ASSERT_EQ(Encoding_Utf8, e); | 264 ASSERT_TRUE(GetDicomEncoding(e, "ISO_IR 192")); ASSERT_EQ(Encoding_Utf8, e); |
265 ASSERT_TRUE(GetDicomEncoding(e, "GB18030")); ASSERT_EQ(Encoding_Chinese, e); | 265 ASSERT_TRUE(GetDicomEncoding(e, "GB18030")); ASSERT_EQ(Encoding_Chinese, e); |
266 ASSERT_TRUE(GetDicomEncoding(e, "GBK")); ASSERT_EQ(Encoding_Chinese, e); | |
266 } | 267 } |
267 | 268 |
268 | 269 |
269 TEST(FromDcmtkBridge, Encodings3) | 270 TEST(FromDcmtkBridge, Encodings3) |
270 { | 271 { |