]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // (C) Copyright Raffi Enficiaud 2014. |
2 | // Distributed under the Boost Software License, Version 1.0. | |
3 | // (See accompanying file LICENSE_1_0.txt or copy at | |
4 | // http://www.boost.org/LICENSE_1_0.txt) | |
5 | ||
6 | // See http://www.boost.org/libs/test for the library home page. | |
7 | ||
8 | //[example_code | |
9 | #define BOOST_TEST_MODULE boost_test_container_c | |
10 | #include <boost/test/included/unit_test.hpp> | |
11 | #include <sstream> | |
12 | #include <map> | |
13 | #include <vector> | |
14 | ||
15 | BOOST_AUTO_TEST_CASE( test_collections_not_on_c_arrays ) | |
16 | { | |
17 | int a[] = {1, 2, 3}; | |
18 | int b[] = {1, 5, 3, 4}; | |
19 | BOOST_TEST(a == b); | |
20 | } | |
21 | //] |