mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-16 13:52:24 +02:00
Fix unit tests that did not return report_errors()
This commit is contained in:
@ -5,7 +5,7 @@
|
|||||||
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
==============================================================================*/
|
==============================================================================*/
|
||||||
|
|
||||||
#include <boost/detail/lightweight_test.hpp>
|
#include <boost/core/lightweight_test.hpp>
|
||||||
#include <boost/fusion/adapted/adt/adapt_assoc_adt.hpp>
|
#include <boost/fusion/adapted/adt/adapt_assoc_adt.hpp>
|
||||||
#include <boost/fusion/sequence.hpp>
|
#include <boost/fusion/sequence.hpp>
|
||||||
#include <boost/mpl/assert.hpp>
|
#include <boost/mpl/assert.hpp>
|
||||||
@ -185,4 +185,5 @@ int main()
|
|||||||
BOOST_TEST(fusion::front(ec).get()=="marshall mathers");
|
BOOST_TEST(fusion::front(ec).get()=="marshall mathers");
|
||||||
BOOST_TEST(fusion::back(ec).get()==37);
|
BOOST_TEST(fusion::back(ec).get()==37);
|
||||||
}
|
}
|
||||||
|
return boost::report_errors();
|
||||||
}
|
}
|
||||||
|
@ -86,4 +86,5 @@ int main()
|
|||||||
test_at_key<set<int[3]> >();
|
test_at_key<set<int[3]> >();
|
||||||
#endif
|
#endif
|
||||||
test_at_key<map<pair<int[3], int[3]> > >();
|
test_at_key<map<pair<int[3], int[3]> > >();
|
||||||
|
return boost::report_errors();
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include <boost/detail/lightweight_test.hpp>
|
#include <boost/core/lightweight_test.hpp>
|
||||||
#include <boost/fusion/include/adapt_struct.hpp>
|
#include <boost/fusion/include/adapt_struct.hpp>
|
||||||
#include <boost/fusion/sequence/hash.hpp>
|
#include <boost/fusion/sequence/hash.hpp>
|
||||||
|
|
||||||
@ -55,4 +55,5 @@ int main()
|
|||||||
BOOST_TEST(hash_value(c) != hash_value(d));
|
BOOST_TEST(hash_value(c) != hash_value(d));
|
||||||
BOOST_TEST(hash_value(c) != hash_value(e));
|
BOOST_TEST(hash_value(c) != hash_value(e));
|
||||||
BOOST_TEST(hash_value(d) != hash_value(e));
|
BOOST_TEST(hash_value(d) != hash_value(e));
|
||||||
|
return boost::report_errors();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user