Go to the documentation of this file.00001 #include <boost/test/unit_test.hpp>
00002
00003 #include "../util.h"
00004
00005 BOOST_AUTO_TEST_SUITE(util)
00006
00007 BOOST_AUTO_TEST_CASE(concat)
00008 {
00009 BOOST_CHECK_EQUAL("1 2 3", concatenate(" ", 1, 2, 3));
00010 }
00011
00012 BOOST_AUTO_TEST_CASE(mult_eq)
00013 {
00014 std::multimap<int, int> mp;
00015 mp.insert(std::pair<int, int>(1, 2));
00016 mp.insert(std::pair<int, int>(1, 3));
00017
00018 std::multimap<int, int> mp2;
00019 mp2.insert(std::pair<int, int>(1, 3));
00020 mp2.insert(std::pair<int, int>(1, 2));
00021 multimap_eq(mp, mp2);
00022 }
00023
00024 BOOST_AUTO_TEST_SUITE_END()