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
Stack Of Tasks
pinocchio
Commits
e51aaffc
Verified
Commit
e51aaffc
authored
Jan 13, 2020
by
Justin Carpentier
Browse files
test/data: check empty data
parent
eec9848e
Changes
1
Hide whitespace changes
Inline
Side-by-side
unittest/data.cpp
View file @
e51aaffc
//
// Copyright (c) 2019 INRIA
// Copyright (c) 2019
-2020
INRIA
//
#include
"pinocchio/multibody/data.hpp"
#include
"pinocchio/multibody/model.hpp"
#include
"pinocchio/parsers/sample-models.hpp"
#include
"pinocchio/algorithm/check.hpp"
#include
<boost/test/unit_test.hpp>
#include
<boost/utility/binary.hpp>
...
...
@@ -17,6 +19,8 @@ BOOST_AUTO_TEST_SUITE(BOOST_TEST_MODULE)
{
Model
empty_model
;
Data
empty_data
(
empty_model
);
BOOST_CHECK
(
empty_model
.
check
(
empty_data
));
}
BOOST_AUTO_TEST_CASE
(
test_data_start_idx_v_fromRow
)
...
...
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