We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d0d23b commit 7cd3808Copy full SHA for 7cd3808
test-suite/prices.cpp
@@ -133,7 +133,7 @@ BOOST_AUTO_TEST_CASE(testIntervalPriceMakeSeries) {
133
134
const TimeSeries<IntervalPrice> priceSeries = createSeries();
135
136
- BOOST_TEST(3u == priceSeries.size());
+ BOOST_TEST(3U == priceSeries.size());
137
testEquality(priceSeries[{(Day)1, (Month)1, (Year)2001}], {11, 21, 31, 41});
138
testEquality(priceSeries[{(Day)2, (Month)2, (Year)2002}], {12, 22, 32, 42});
139
testEquality(priceSeries[{(Day)3, (Month)3, (Year)2003}], {13, 23, 33, 43});
@@ -176,7 +176,7 @@ BOOST_AUTO_TEST_CASE(testIntervalPriceExtractComponent) {
176
IntervalPrice::extractComponent(createSeries(), IntervalPrice::Low);
177
178
for (const auto& series : {openSeries, closeSeries, highSeries, lowSeries})
179
- BOOST_TEST(3u == series.size());
+ BOOST_TEST(3U == series.size());
180
181
const std::array<Date, 3> expectedDates{Date{(Day)1, (Month)1, (Year)2001},
182
Date{(Day)2, (Month)2, (Year)2002},
test-suite/timegrid.cpp
@@ -112,7 +112,7 @@ BOOST_AUTO_TEST_CASE(testIndex)
112
113
BOOST_CHECK_THROW(tg.index(-2.0), Error);
114
115
- BOOST_ASSERT(4u == tg.size());
+ BOOST_ASSERT(4U == tg.size());
116
117
BOOST_CHECK_THROW(tg.index(-0.1), Error);
118
BOOST_TEST(0 == tg.index(0.0));
0 commit comments