native_tu_test.cpp 510 B

123456789101112131415161718192021
  1. // Copyright (C) 2006-2009, 2012 Alexander Nasonov
  2. // Copyright (C) 2012 Lorenzo Caminiti
  3. // Distributed under the Boost Software License, Version 1.0
  4. // (see accompanying file LICENSE_1_0.txt or a copy at
  5. // http://www.boost.org/LICENSE_1_0.txt)
  6. // Home at http://www.boost.org/libs/scope_exit
  7. #include "tu_test.hpp"
  8. #include <boost/detail/lightweight_test.hpp>
  9. void test(void) {
  10. BOOST_TEST(tu1() == 1);
  11. BOOST_TEST(tu2() == 2);
  12. }
  13. int main(void) {
  14. test();
  15. return boost::report_errors();
  16. }