]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/filesystem/bug/bug.cpp
1 // filesystem/bug/bug.cpp
3 #include <boost/detail/lightweight_test_report.hpp>
4 #include <boost/filesystem.hpp>
6 namespace fs
= boost::filesystem
;
8 int test_main(int, char*[]) // note name
10 BOOST_TEST(2 + 2 == 5); // one convertible-to-bool argument
11 BOOST_TEST_EQ(4 + 4, 9); // two EqualityComparible arguments
12 BOOST_TEST(fs::exists(".")); // should pass, so nothing reported
14 return ::boost::report_errors(); // required
17 // Copyright Beman Dawes 2014
18 // Distributed under the Boost Software License, Version 1.0.
19 // www.boost.org/LICENSE_1_0.txt