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
Guilhem Saurel
hpp-fcl
Commits
96254626
Commit
96254626
authored
Dec 13, 2019
by
Justin Carpentier
Committed by
rstrudel
Dec 13, 2019
Browse files
test/capsule: lower the number of tests in Debug mode
parent
8e181b12
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/capsule_capsule.cpp
View file @
96254626
...
...
@@ -66,7 +66,11 @@ BOOST_AUTO_TEST_CASE(collision_capsule_capsule_trivial)
CollisionGeometryPtr_t
s1
(
new
Sphere
(
radius
));
CollisionGeometryPtr_t
s2
(
new
Sphere
(
radius
));
int
num_tests
=
1e6
;
#ifndef NDEBUG
int
num_tests
=
1e3
;
#else
int
num_tests
=
1e6
;
#endif
Transform3f
tf1
;
Transform3f
tf2
;
...
...
@@ -106,8 +110,11 @@ BOOST_AUTO_TEST_CASE(collision_capsule_capsule_aligned)
CollisionGeometryPtr_t
c1
(
new
Capsule
(
radius
,
length
));
CollisionGeometryPtr_t
c2
(
new
Capsule
(
radius
,
length
));
#ifndef NDEBUG
int
num_tests
=
1e3
;
#else
int
num_tests
=
1e6
;
#endif
Transform3f
tf1
;
Transform3f
tf2
;
...
...
Write
Preview
Markdown
is supported
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