Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianFeldmann committed Jan 11, 2025
1 parent f1a4c26 commit 2defa85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions YUViewUnitTest/statistics/StatisticsDataTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -80,6 +81,7 @@ TEST(StatisticsData, testPixelValueRetrievalVector)
.withTypeID(typeID)
.withTypeName("Something")
.withVectorDataOptions({.scale = 4})
.withRender(true)
.build());

EXPECT_EQ(data.needsLoading(frameIndex), ItemLoadingState::LoadingNeeded);
Expand Down

0 comments on commit 2defa85

Please sign in to comment.