#include <OpenTissue/configuration.h>
#include <OpenTissue/core/spline/spline.h>
#include <boost/test/auto_unit_test.hpp>
#include <boost/test/unit_test_suite.hpp>
#include <boost/test/test_tools.hpp>
#include <boost/test/floating_point_comparison.hpp>
Defines | |
#define | BOOST_AUTO_TEST_MAIN |
Typedefs | |
typedef OpenTissue::spline::MathTypes < double, size_t > | math_types |
typedef math_types::vector_type | vector_type |
typedef std::vector< double > | knot_container |
typedef std::vector< vector_type > | point_container |
typedef OpenTissue::spline::NUBSpline < knot_container, point_container > | NUBSpline |
Functions | |
knot_container | init_knots (int const &M) |
point_container | init_controls (int const &N) |
BOOST_AUTO_TEST_SUITE (opentissue_core_spline_nubs) | |
BOOST_AUTO_TEST_CASE (test_construction) | |
BOOST_AUTO_TEST_SUITE_END () |
#define BOOST_AUTO_TEST_MAIN |
typedef std::vector<double> knot_container |
typedef OpenTissue::spline::MathTypes<double, size_t> math_types |
typedef std::vector<vector_type> point_container |
typedef math_types::vector_type vector_type |
BOOST_AUTO_TEST_CASE | ( | test_construction | ) |
BOOST_AUTO_TEST_SUITE | ( | opentissue_core_spline_nubs | ) |
BOOST_AUTO_TEST_SUITE_END | ( | ) |
point_container init_controls | ( | int const & | N | ) |
knot_container init_knots | ( | int const & | M | ) |