Use BOOST_CHECK instead of BOOST_ASSERT to make tests work in release mode
This commit is contained in:
committed by
Patrick Niklaus
parent
371dc57dfc
commit
eb1e83858a
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user