Mercurial > hg > orthanc
diff UnitTestsSources/ImageTests.cpp @ 2107:88831c3edd8f
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 19 Oct 2016 17:22:09 +0200 |
parents | a1c1c606ce98 |
children | aa4b8895cd23 |
line wrap: on
line diff
--- a/UnitTestsSources/ImageTests.cpp Mon Oct 17 15:36:50 2016 +0200 +++ b/UnitTestsSources/ImageTests.cpp Wed Oct 19 17:22:09 2016 +0200 @@ -211,7 +211,7 @@ std::string s; { - Orthanc::Image img(Orthanc::PixelFormat_Grayscale8, 16, 16); + Orthanc::Image img(Orthanc::PixelFormat_Grayscale8, 16, 16, false); for (unsigned int y = 0, value = 0; y < img.GetHeight(); y++) { uint8_t* p = reinterpret_cast<uint8_t*>(img.GetRow(y)); @@ -258,7 +258,7 @@ TEST(Font, Basic) { - Orthanc::Image s(Orthanc::PixelFormat_RGB24, 640, 480); + Orthanc::Image s(Orthanc::PixelFormat_RGB24, 640, 480, false); memset(s.GetBuffer(), 0, s.GetPitch() * s.GetHeight()); ASSERT_GE(1u, Orthanc::Configuration::GetFontRegistry().GetSize());