Skip to content

Commit 7cd3808

Browse files
github-actions[bot]lballabio
authored andcommitted
Automated fixes by clang-tidy
1 parent 0d0d23b commit 7cd3808

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test-suite/prices.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ BOOST_AUTO_TEST_CASE(testIntervalPriceMakeSeries) {
133133

134134
const TimeSeries<IntervalPrice> priceSeries = createSeries();
135135

136-
BOOST_TEST(3u == priceSeries.size());
136+
BOOST_TEST(3U == priceSeries.size());
137137
testEquality(priceSeries[{(Day)1, (Month)1, (Year)2001}], {11, 21, 31, 41});
138138
testEquality(priceSeries[{(Day)2, (Month)2, (Year)2002}], {12, 22, 32, 42});
139139
testEquality(priceSeries[{(Day)3, (Month)3, (Year)2003}], {13, 23, 33, 43});
@@ -176,7 +176,7 @@ BOOST_AUTO_TEST_CASE(testIntervalPriceExtractComponent) {
176176
IntervalPrice::extractComponent(createSeries(), IntervalPrice::Low);
177177

178178
for (const auto& series : {openSeries, closeSeries, highSeries, lowSeries})
179-
BOOST_TEST(3u == series.size());
179+
BOOST_TEST(3U == series.size());
180180

181181
const std::array<Date, 3> expectedDates{Date{(Day)1, (Month)1, (Year)2001},
182182
Date{(Day)2, (Month)2, (Year)2002},

test-suite/timegrid.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ BOOST_AUTO_TEST_CASE(testIndex)
112112

113113
BOOST_CHECK_THROW(tg.index(-2.0), Error);
114114

115-
BOOST_ASSERT(4u == tg.size());
115+
BOOST_ASSERT(4U == tg.size());
116116

117117
BOOST_CHECK_THROW(tg.index(-0.1), Error);
118118
BOOST_TEST(0 == tg.index(0.0));

0 commit comments

Comments
 (0)