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
ndcurves
Commits
a1ed4698
Commit
a1ed4698
authored
Dec 16, 2019
by
Guilhem Saurel
Browse files
fix hardcoded path, fix #22
parent
2cca9eab
Pipeline
#7640
failed with stage
in 6 minutes and 23 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/CMakeLists.txt
View file @
a1ed4698
...
...
@@ -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 @
a1ed4698
...
...
@@ -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);
...
...
Guilhem Saurel
@gsaurel
mentioned in issue
#1 (moved)
·
Dec 16, 2019
mentioned in issue
#1 (moved)
mentioned in issue #1
Toggle commit list
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