changeset 4782:ba1bebbd75d2

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 30 Aug 2021 18:21:12 +0200
parents 235d3a9f8dec
children 6a6d2a34a34e 113afe7b594d
files OrthancFramework/UnitTestsSources/FromDcmtkTests.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/UnitTestsSources/FromDcmtkTests.cpp	Mon Aug 30 18:16:53 2021 +0200
+++ b/OrthancFramework/UnitTestsSources/FromDcmtkTests.cpp	Mon Aug 30 18:21:12 2021 +0200
@@ -3071,8 +3071,8 @@
     dicom.GetRescale(ri, rs, 5);
     ASSERT_DOUBLE_EQ(12.0, wc);
     ASSERT_DOUBLE_EQ(-22.0, ww);
-    ASSERT_DOUBLE_EQ(32.0, ri);
-    ASSERT_DOUBLE_EQ(-42.0, rs);
+    ASSERT_DOUBLE_EQ(0.0, ri);
+    ASSERT_DOUBLE_EQ(1.0, rs);
   }
 
   {