Skip to content

Commit

Permalink
Rename tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Chrétien committed Mar 23, 2015
1 parent 385614b commit 72c38a5
Show file tree
Hide file tree
Showing 21 changed files with 24 additions and 24 deletions.
36 changes: 18 additions & 18 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -115,31 +115,31 @@ ROBOPTIM_CORE_TEST(solver-state)
ROBOPTIM_CORE_TEST(optimization-logger)
ROBOPTIM_CORE_TEST(multiplexer)

# Algorithm.
ROBOPTIM_CORE_TEST(finite-difference-gradient)
ROBOPTIM_CORE_TEST(finite-difference-jacobian)

# Built-in mathematical functions.
ROBOPTIM_CORE_TEST(function-constant)
ROBOPTIM_CORE_TEST(function-cos)
ROBOPTIM_CORE_TEST(function-identity)
ROBOPTIM_CORE_TEST(function-sin)
ROBOPTIM_CORE_TEST(function-polynomial)

# Filters.
ROBOPTIM_CORE_TEST(filter-bind)
ROBOPTIM_CORE_TEST(filter-cached-function)
ROBOPTIM_CORE_TEST(filter-chain)
ROBOPTIM_CORE_TEST(filter-concatenate)
ROBOPTIM_CORE_TEST(filter-derivative)
ROBOPTIM_CORE_TEST(filter-map)
ROBOPTIM_CORE_TEST(filter-minus)
ROBOPTIM_CORE_TEST(filter-plus)
ROBOPTIM_CORE_TEST(filter-product)
ROBOPTIM_CORE_TEST(filter-scalar)
ROBOPTIM_CORE_TEST(filter-selection)
ROBOPTIM_CORE_TEST(filter-selection-by-id)
ROBOPTIM_CORE_TEST(filter-split)
# Decorators.
ROBOPTIM_CORE_TEST(decorator-cached-function)
ROBOPTIM_CORE_TEST(decorator-finite-difference-gradient)
ROBOPTIM_CORE_TEST(decorator-finite-difference-jacobian)

# Operators.
ROBOPTIM_CORE_TEST(operator-bind)
ROBOPTIM_CORE_TEST(operator-chain)
ROBOPTIM_CORE_TEST(operator-concatenate)
ROBOPTIM_CORE_TEST(operator-derivative)
ROBOPTIM_CORE_TEST(operator-map)
ROBOPTIM_CORE_TEST(operator-minus)
ROBOPTIM_CORE_TEST(operator-plus)
ROBOPTIM_CORE_TEST(operator-product)
ROBOPTIM_CORE_TEST(operator-scalar)
ROBOPTIM_CORE_TEST(operator-selection)
ROBOPTIM_CORE_TEST(operator-selection-by-id)
ROBOPTIM_CORE_TEST(operator-split)

# Visualization
ROBOPTIM_CORE_TEST(visualization-gnuplot-simple)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ BOOST_FIXTURE_TEST_SUITE (core, TestSuiteConfiguration)

BOOST_AUTO_TEST_CASE (cached_function)
{
output = retrievePattern ("filter-cached-function");
output = retrievePattern ("decorator-cached-function");

// First: test dense cached function
boost::shared_ptr<DenseF> dense_f (new DenseF ());
Expand Down Expand Up @@ -162,7 +162,7 @@ BOOST_AUTO_TEST_CASE (cached_function)
BOOST_CHECK (output->match_pattern (true));

// Second: test sparse cached function
output = retrievePattern ("filter-cached-function");
output = retrievePattern ("decorator-cached-function");
boost::shared_ptr<SparseF> sparse_f (new SparseF ());

CachedFunction<DifferentiableSparseFunction> cachedSparseF (sparse_f);
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ typedef boost::mpl::list< ::roboptim::EigenMatrixDense,
BOOST_AUTO_TEST_CASE_TEMPLATE (finite_difference_gradient, T, functionTypes_t)
{
boost::shared_ptr<boost::test_tools::output_test_stream>
output = retrievePattern ("finite-difference-gradient");
output = retrievePattern ("decorator-finite-difference-gradient");

FGood<T> fg;
FBad<T> fb;
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ typedef boost::mpl::list< ::roboptim::EigenMatrixDense,
BOOST_AUTO_TEST_CASE_TEMPLATE (finite_difference_jacobian, T, functionTypes_t)
{
boost::shared_ptr<boost::test_tools::output_test_stream>
output = retrievePattern ("finite-difference-jacobian");
output = retrievePattern ("decorator-finite-difference-jacobian");

FGood<T> fg;
FBad<T> fb;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/filter-product.cc → tests/operator-product.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ BOOST_FIXTURE_TEST_SUITE (core, TestSuiteConfiguration)
BOOST_AUTO_TEST_CASE_TEMPLATE (product_test, T, functionTypes_t)
{
boost::shared_ptr<boost::test_tools::output_test_stream>
output = retrievePattern ("filter-product");
output = retrievePattern ("operator-product");

typename GenericFunction<T>::value_type eps = 1e-6;

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/filter-split.cc → tests/operator-split.cc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ BOOST_FIXTURE_TEST_SUITE (core, TestSuiteConfiguration)
BOOST_AUTO_TEST_CASE (split)
{
boost::shared_ptr<boost::test_tools::output_test_stream>
output = retrievePattern ("filter-split");
output = retrievePattern ("operator-split");

boost::shared_ptr<F> f (new F ());

Expand Down
File renamed without changes.

0 comments on commit 72c38a5

Please sign in to comment.