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
ndcurves
Commits
cc9daa29
Unverified
Commit
cc9daa29
authored
Dec 16, 2019
by
Fernbach Pierre
Committed by
GitHub
Dec 16, 2019
Browse files
Merge pull request #21 from nim65s/devel
fix hardcoded path, fix
https://gepgitlab.laas.fr/loco-3d/curves/issues/22
parents
2cca9eab
a1ed4698
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/CMakeLists.txt
View file @
cc9daa29
...
...
@@ -3,3 +3,4 @@ ADD_UNIT_TEST(
)
PKG_CONFIG_USE_DEPENDENCY
(
curves_tests eigen3
)
TARGET_LINK_LIBRARIES
(
curves_tests
${
Boost_LIBRARIES
}
)
TARGET_COMPILE_DEFINITIONS
(
curves_tests PRIVATE -DTEST_DATA_PATH=
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/data/"
)
tests/Main.cpp
View file @
cc9daa29
...
...
@@ -2304,10 +2304,8 @@ void BezierLinearProblemInitInequalities(bool& error) {
}
}
static
const
std
::
string
path
=
"../../tests/data/"
;
void
BezierLinearProblemsetupLoadProblem
(
bool
&
/*error*/
)
{
problem_definition_t
pDef
=
loadproblem
(
path
+
"test.pb"
);
problem_definition_t
pDef
=
loadproblem
(
TEST_DATA_PATH
"test.pb"
);
// problem_data_t pData = setup_control_points<point_t, 3, double>(pDef);
generate_problem
<
point3_t
,
double
,
true
>
(
pDef
,
VELOCITY
);
// initInequalityMatrix<point_t,3,double>(pDef,pData,prob);
...
...
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