From 3f56a87a952d4ce52d5eb065319bbb7d2cbc16dc Mon Sep 17 00:00:00 2001 From: ptahmose Date: Sat, 2 Dec 2023 21:16:02 +0100 Subject: [PATCH] test --- Src/libCZI_UnitTests/test_metadatareading.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Src/libCZI_UnitTests/test_metadatareading.cpp b/Src/libCZI_UnitTests/test_metadatareading.cpp index 54028095..36f90ec1 100644 --- a/Src/libCZI_UnitTests/test_metadatareading.cpp +++ b/Src/libCZI_UnitTests/test_metadatareading.cpp @@ -54,8 +54,10 @@ TEST(MetadataReading, ScalingInfoExTest) EXPECT_DOUBLE_EQ(scalingInfo.scaleY, 1.6432520108980473e-07); EXPECT_FALSE(scalingInfo.IsScaleZValid()); - EXPECT_TRUE(scalingInfo.defaultUnitFormatX.compare(L"um") == 0); - EXPECT_TRUE(scalingInfo.defaultUnitFormatY.compare(L"um") == 0); + EXPECT_STREQ(scalingInfo.defaultUnitFormatX.c_str(), L"um"); + EXPECT_STREQ(scalingInfo.defaultUnitFormatY.c_str(), L"um"); + //EXPECT_TRUE(scalingInfo.defaultUnitFormatX.compare(L"um") == 0); + //EXPECT_TRUE(scalingInfo.defaultUnitFormatY.compare(L"um") == 0); EXPECT_TRUE(scalingInfo.defaultUnitFormatZ.empty()); }