Verified Commit 5e6ab9e5 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

test/serialization: rename

parent b126ccf9
......@@ -143,7 +143,10 @@ namespace pinocchio
}
const Scalar & sin() const { return m_sin; }
Scalar & sin() { return m_sin; }
const Scalar & cos() const { return m_cos; }
Scalar & cos() { return m_cos; }
template<typename OtherScalar>
void setValues(const OtherScalar & sin, const OtherScalar & cos)
......
......@@ -18,6 +18,7 @@
#include <boost/serialization/split_free.hpp>
#include <boost/serialization/variant.hpp>
#include "pinocchio/serialization/joints-transform.hpp"
#include "pinocchio/serialization/joints-model.hpp"
#endif // ifndef __pinocchio_serialization_joints_hpp__
......@@ -284,7 +284,7 @@ struct init<pinocchio::JointModelMimic<JointModel_> >
}
};
struct TestJoint
struct TestJointModel
{
template <typename JointModel>
void operator()(const pinocchio::JointModelBase<JointModel> &) const
......@@ -301,10 +301,10 @@ struct TestJoint
};
BOOST_AUTO_TEST_CASE(test_multibody_joints_serialization)
BOOST_AUTO_TEST_CASE(test_multibody_joints_model_serialization)
{
using namespace pinocchio;
boost::mpl::for_each<JointModelVariant::types>(TestJoint());
boost::mpl::for_each<JointModelVariant::types>(TestJointModel());
}
BOOST_AUTO_TEST_CASE(test_model_serialization)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment