Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
hpp-fcl
Commits
35339a68
Commit
35339a68
authored
Aug 30, 2019
by
Joseph Mirabel
Browse files
Update unit-test.
parent
90bd15ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/capsule_box_1.cpp
View file @
35339a68
...
...
@@ -78,8 +78,7 @@ BOOST_AUTO_TEST_CASE(distance_capsule_box)
BOOST_CHECK_CLOSE
(
o1
[
0
],
1.0
,
1e-1
);
CHECK_CLOSE_TO_0
(
o1
[
1
],
1e-1
);
BOOST_CHECK_CLOSE
(
o2
[
0
],
0.5
,
1e-1
);
// This cannot be ensured with the current code.
// CHECK_CLOSE_TO_0 (o2 [1], 1e-1);
CHECK_CLOSE_TO_0
(
o2
[
1
],
1e-1
);
// Move capsule above box
tf1
=
hpp
::
fcl
::
Transform3f
(
hpp
::
fcl
::
Vec3f
(
0.
,
0.
,
8.
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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