Commit ca62021f authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

[Tests] add test case for contactModel operator !=

parent d0c4c7f3
...@@ -270,8 +270,14 @@ BOOST_AUTO_TEST_CASE(contact_model) { ...@@ -270,8 +270,14 @@ BOOST_AUTO_TEST_CASE(contact_model) {
ContactModelPlanar mp1(mu, ZMP_radius); ContactModelPlanar mp1(mu, ZMP_radius);
ContactModelPlanar mp2(mp1); ContactModelPlanar mp2(mp1);
BOOST_CHECK(mp1.m_mu == mu);
BOOST_CHECK(mp1.m_ZMP_radius == ZMP_radius);
BOOST_CHECK(mp1 == mp2); BOOST_CHECK(mp1 == mp2);
mp1.m_mu = 0.5;
BOOST_CHECK(mp1 != mp2);
//TODO : check serialization
} }
BOOST_AUTO_TEST_CASE(contact_patch) { BOOST_AUTO_TEST_CASE(contact_patch) {
......
Supports Markdown
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