2013-08-08 09:54:33 +00:00
|
|
|
/*=============================================================================
|
2015-01-11 17:03:30 +00:00
|
|
|
Copyright (c) 2011-2015 Bolero MURAKAMI
|
2013-08-08 09:54:33 +00:00
|
|
|
https://github.com/bolero-MURAKAMI/Sprout
|
|
|
|
|
|
|
|
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
|
|
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
=============================================================================*/
|
2012-05-19 09:46:38 +00:00
|
|
|
#ifndef SPROUT_LIBS_ALGORITHM_TEST_ALGORITHM_CPP
|
|
|
|
#define SPROUT_LIBS_ALGORITHM_TEST_ALGORITHM_CPP
|
|
|
|
|
|
|
|
#ifndef TESTSPR_CPP_INCLUDE
|
|
|
|
# define TESTSPR_CPP_INCLUDE_DISABLE_SPROUT_LIBS_ALGORITHM_TEST_ALGORITHM_CPP
|
|
|
|
# define TESTSPR_CPP_INCLUDE
|
|
|
|
#endif
|
|
|
|
|
2012-12-09 05:34:14 +00:00
|
|
|
#include "./non_modifying.cpp"
|
2012-05-19 09:46:38 +00:00
|
|
|
#include "./modifying.cpp"
|
|
|
|
|
|
|
|
#ifdef TESTSPR_CPP_INCLUDE_DISABLE_SPROUT_LIBS_ALGORITHM_TEST_ALGORITHM_CPP
|
|
|
|
# undef TESTSPR_CPP_INCLUDE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
namespace testspr {
|
|
|
|
static void algorithm_test() {
|
2012-12-09 05:34:14 +00:00
|
|
|
testspr::algorithm_non_modifying_test();
|
2012-05-19 09:46:38 +00:00
|
|
|
testspr::algorithm_modifying_test();
|
|
|
|
}
|
|
|
|
} // namespace testspr
|
|
|
|
|
|
|
|
#ifndef TESTSPR_CPP_INCLUDE
|
|
|
|
# define TESTSPR_TEST_FUNCTION testspr::algorithm_test
|
|
|
|
# include <testspr/include_main.hpp>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // #ifndef SPROUT_LIBS_ALGORITHM_TEST_ALGORITHM_CPP
|