Use BOOST_CHECK instead of BOOST_ASSERT to make tests work in release mode

This commit is contained in:
Patrick Niklaus
2018-02-01 15:54:12 +00:00
committed by Patrick Niklaus
parent 371dc57dfc
commit eb1e83858a
2 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ typedef RangeTable<BLOCK_SIZE, osrm::storage::Ownership::Container> TestRangeTab
void ConstructionTest(std::vector<unsigned> lengths, std::vector<unsigned> offsets)
{
BOOST_ASSERT(lengths.size() == offsets.size() - 1);
BOOST_CHECK_EQUAL(lengths.size(), offsets.size() - 1);
TestRangeTable table(lengths);