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
80ab2611
Commit
80ab2611
authored
Oct 24, 2020
by
Pierre Fernbach
Browse files
[Tests] fix curve_constraints operator equal in Debug mode
parent
37d3f474
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test-curve-constraints.cpp
View file @
80ab2611
...
...
@@ -57,12 +57,18 @@ BOOST_AUTO_TEST_CASE(operator_equal) {
BOOST_CHECK
(
constraints
!=
constraints2
);
bezier_t
::
curve_constraints_t
constraints3
(
2
);
constraints
.
init_vel
=
point3_t
(
-
1
,
-
1
);
constraints
.
init_acc
=
point3_t
(
-
2
,
-
2
);
constraints
.
init_jerk
=
point3_t
(
1
,
2
);
constraints
.
end_vel
=
point3_t
(
-
10
,
-
10
);
constraints
.
end_acc
=
point3_t
(
-
20
,
-
20
);
constraints
.
end_jerk
=
point3_t
(
-
1
,
-
2
);
constraints
.
init_vel
=
pointX_t
(
2
);
constraints
.
init_vel
<<
-
1
,
-
1
;
constraints
.
init_acc
=
pointX_t
(
2
);
constraints
.
init_acc
<<-
2
,
-
2
;
constraints
.
init_jerk
=
pointX_t
(
2
);
constraints
.
init_jerk
<<
1
,
2
;
constraints
.
end_vel
=
pointX_t
(
2
);
constraints
.
end_vel
<<-
10
,
-
10
;
constraints
.
end_acc
=
pointX_t
(
2
);
constraints
.
end_acc
<<-
20
,
-
20
;
constraints
.
end_jerk
=
pointX_t
(
2
);
constraints
.
end_jerk
<<-
1
,
-
2
;
BOOST_CHECK
(
constraints
!=
constraints3
);
}
...
...
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