Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
loco-3d
Multicontact-api
Commits
ca62021f
Commit
ca62021f
authored
Dec 06, 2019
by
Pierre Fernbach
Browse files
[Tests] add test case for contactModel operator !=
parent
d0c4c7f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
unittest/scenario.cpp
View file @
ca62021f
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment