From 2defa85575a8a34cd5049a68fb4c1968695d7be3 Mon Sep 17 00:00:00 2001 From: Christian Feldmann Date: Sat, 11 Jan 2025 14:38:20 +0100 Subject: [PATCH] Fix tests --- YUViewUnitTest/statistics/StatisticsDataTest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/YUViewUnitTest/statistics/StatisticsDataTest.cpp b/YUViewUnitTest/statistics/StatisticsDataTest.cpp index d063811e1..263b384b7 100644 --- a/YUViewUnitTest/statistics/StatisticsDataTest.cpp +++ b/YUViewUnitTest/statistics/StatisticsDataTest.cpp @@ -50,6 +50,7 @@ TEST(StatisticsData, testPixelValueRetrievalInteger) .withTypeName("Something") .withValueDataOptions({.colorMapper = stats::color::ColorMapper( {0, 10}, stats::color::PredefinedType::Jet)}) + .withRender(true) .build()); EXPECT_EQ(data.needsLoading(frameIndex), ItemLoadingState::LoadingNeeded); @@ -80,6 +81,7 @@ TEST(StatisticsData, testPixelValueRetrievalVector) .withTypeID(typeID) .withTypeName("Something") .withVectorDataOptions({.scale = 4}) + .withRender(true) .build()); EXPECT_EQ(data.needsLoading(frameIndex), ItemLoadingState::LoadingNeeded);