Mercurial > hg > orthanc
diff UnitTestsSources/ServerIndexTests.cpp @ 3179:fca730c267d7
New primitives to set and refresh metrics
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 30 Jan 2019 17:12:15 +0100 |
parents | 8ea7c4546c3a |
children | 4bbadcd03966 |
line wrap: on
line diff
--- a/UnitTestsSources/ServerIndexTests.cpp Wed Jan 30 12:41:20 2019 +0100 +++ b/UnitTestsSources/ServerIndexTests.cpp Wed Jan 30 17:12:15 2019 +0100 @@ -808,8 +808,8 @@ context.GetIndex().GetGlobalStatistics(diskSize, uncompressedSize, countPatients, countStudies, countSeries, countInstances); - ASSERT_EQ(0, countInstances); - ASSERT_EQ(0, diskSize); + ASSERT_EQ(0u, countInstances); + ASSERT_EQ(0u, diskSize); { DicomInstanceToStore toStore; @@ -863,7 +863,7 @@ context.GetIndex().GetGlobalStatistics(diskSize, uncompressedSize, countPatients, countStudies, countSeries, countInstances); - ASSERT_EQ(1, countInstances); + ASSERT_EQ(1u, countInstances); ASSERT_EQ(dicom2.GetCompressedSize() + json2.GetCompressedSize(), diskSize); ASSERT_EQ(dicom2.GetUncompressedSize() + json2.GetUncompressedSize(), uncompressedSize);