Skip to content

Commit

Permalink
Constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianFeldmann committed Jan 17, 2025
1 parent 1de46fb commit 96cfeef
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions YUViewUnitTest/statistics/StatisticsTypeBuilderTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ TEST(StatisticsTypeBuilderTest, DefaultValues)

TEST(StatisticsTypeBuilderTest, SetTypeNameDescriptionAndRenderValues)
{
const auto statisticsType = stats::StatisticsTypeBuilder()
const auto statisticsType = StatisticsTypeBuilder()
.withTypeID(1)
.withTypeName("TestType")
.withDescription("TestDescription")
Expand All @@ -72,7 +72,7 @@ TEST(StatisticsTypeBuilderTest, SetTypeNameDescriptionAndRenderValues)

TEST(StatisticsTypeBuilderTest, SetValueDatDefaultValues)
{
const auto statisticsType = stats::StatisticsTypeBuilder().withValueDataOptions({}).build();
const auto statisticsType = StatisticsTypeBuilder().withValueDataOptions({}).build();

EXPECT_TRUE(statisticsType.valueDataOptions);
EXPECT_EQ(statisticsType.valueDataOptions->render, true);
Expand All @@ -82,7 +82,7 @@ TEST(StatisticsTypeBuilderTest, SetValueDatDefaultValues)

TEST(StatisticsTypeBuilderTest, SetValueDataCustomValues)
{
const auto colorMapper = color::ColorMapper({0, 255}, color::PredefinedType::Jet);
const color::ColorMapper colorMapper({0, 255}, color::PredefinedType::Jet);

const auto statisticsType =
stats::StatisticsTypeBuilder()
Expand Down Expand Up @@ -112,7 +112,7 @@ TEST(StatisticsTypeBuilderTest, SetVectorDataDefaultValues)

TEST(StatisticsTypeBuilderTest, SetVectorDataCustomValues)
{
const auto lineDrawStyle = LineDrawStyle(Color(255, 0, 0), 2, Pattern::DashDot);
const LineDrawStyle lineDrawStyle(Color(255, 0, 0), 2, Pattern::DashDot);

const auto statisticsType = StatisticsTypeBuilder()
.withVectorDataOptions({
Expand Down Expand Up @@ -147,7 +147,7 @@ TEST(StatisticsTypeBuilderTest, SetGridOptionsDefaultValues)

TEST(StatisticsTypeBuilderTest, SetGridOptionsCustomValues)
{
const auto lineDrawStyle = LineDrawStyle(Color(123, 44, 99), 5, Pattern::DashDot);
const LineDrawStyle lineDrawStyle(Color(123, 44, 99), 5, Pattern::DashDot);

const auto statisticsType =
StatisticsTypeBuilder()
Expand Down

0 comments on commit 96cfeef

Please sign in to comment.