1 // test file for quaternion.hpp 2 3 // (C) Copyright Hubert Holin 2001. 4 // Distributed under the Boost Software License, Version 1.0. (See 5 // accompanying file LICENSE_1_0.txt or copy at 6 // http://www.boost.org/LICENSE_1_0.txt) 7 8 9 #include <boost/test/unit_test.hpp> 10 #include <boost/test/unit_test_log.hpp> 11 12 #include "quaternion_mi1.h" 13 #include "quaternion_mi2.h" 14 15 init_unit_test_suite(int,char * [])16boost::unit_test::test_suite * init_unit_test_suite(int, char *[]) 17 { 18 ::boost::unit_test::unit_test_log. 19 set_threshold_level(::boost::unit_test::log_messages); 20 21 boost::unit_test::test_suite * test = 22 BOOST_TEST_SUITE("quaternion_multiple_inclusion_test"); 23 24 BOOST_TEST_MESSAGE("Results of quaternion (multiple inclusion) test."); 25 BOOST_TEST_MESSAGE(" "); 26 BOOST_TEST_MESSAGE("(C) Copyright Hubert Holin 2003-2005."); 27 BOOST_TEST_MESSAGE("Distributed under the Boost Software License, Version 1.0."); 28 BOOST_TEST_MESSAGE("(See accompanying file LICENSE_1_0.txt or copy at"); 29 BOOST_TEST_MESSAGE("http://www.boost.org/LICENSE_1_0.txt)"); 30 BOOST_TEST_MESSAGE(" "); 31 32 test->add(BOOST_TEST_CASE(&quaternion_mi1)); 33 test->add(BOOST_TEST_CASE(&quaternion_mi2)); 34 35 return(test); 36 } 37 38