Commit 13318719 authored by jcarpent's avatar jcarpent
Browse files

[Test] Increase test of neutral configuration

parent 8e0f3891
//
// Copyright (c) 2016 CNRS
// Copyright (c) 2016-2018 CNRS
//
// This file is part of Pinocchio
// Pinocchio is free software: you can redistribute it
......@@ -326,6 +326,8 @@ BOOST_AUTO_TEST_CASE ( neutral_configuration_test )
0,0,0;
Eigen::VectorXd neutral_config = neutral(model);
BOOST_CHECK_MESSAGE(neutral_config.isApprox(expected, 1e-12), "neutral configuration - wrong results");
BOOST_CHECK_MESSAGE(model.neutralConfiguration.isApprox(expected, 1e-12), "neutral configuration - wrong results");
}
......
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