Mercurial > hg > orthanc
comparison UnitTestsSources/DicomMapTests.cpp @ 3541:4beabcea3a5c Orthanc-1.5.8
Orthanc-1.5.8
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 16 Oct 2019 12:52:25 +0200 |
parents | 77bede920d22 |
children | 173c7f363d8f |
comparison
equal
deleted
inserted
replaced
3540:096c827cbf9e | 3541:4beabcea3a5c |
---|---|
379 | 379 |
380 | 380 |
381 // "800\0" in US COLMUNS tag | 381 // "800\0" in US COLMUNS tag |
382 m.SetValue(DICOM_TAG_COLUMNS, "800\0", false); | 382 m.SetValue(DICOM_TAG_COLUMNS, "800\0", false); |
383 ASSERT_TRUE(m.GetValue(DICOM_TAG_COLUMNS).ParseFirstUnsignedInteger(ui)); | 383 ASSERT_TRUE(m.GetValue(DICOM_TAG_COLUMNS).ParseFirstUnsignedInteger(ui)); |
384 ASSERT_EQ(800, ui); | 384 ASSERT_EQ(800u, ui); |
385 m.SetValue(DICOM_TAG_COLUMNS, "800", false); | 385 m.SetValue(DICOM_TAG_COLUMNS, "800", false); |
386 ASSERT_TRUE(m.GetValue(DICOM_TAG_COLUMNS).ParseFirstUnsignedInteger(ui)); | 386 ASSERT_TRUE(m.GetValue(DICOM_TAG_COLUMNS).ParseFirstUnsignedInteger(ui)); |
387 ASSERT_EQ(800, ui); | 387 ASSERT_EQ(800u, ui); |
388 } | 388 } |
389 | 389 |
390 | 390 |
391 TEST(DicomMap, Serialize) | 391 TEST(DicomMap, Serialize) |
392 { | 392 { |