Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
9330c973
Commit
9330c973
authored
Jun 23, 2018
by
Davis King
Browse files
fixed broken test
parent
9a9eb5e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dlib/test/geometry.cpp
dlib/test/geometry.cpp
+2
-2
No files found.
dlib/test/geometry.cpp
View file @
9330c973
...
@@ -873,11 +873,11 @@ namespace
...
@@ -873,11 +873,11 @@ namespace
DLIB_TEST
(
count_points_between_lines
(
l1
,
l2
,
reference_point
,
pts
)
==
3
);
DLIB_TEST
(
count_points_between_lines
(
l1
,
l2
,
reference_point
,
pts
)
==
3
);
DLIB_TEST
(
count_points_on_side_of_line
(
l1
,
reference_point
,
pts
,
10
)
==
4
);
DLIB_TEST
(
count_points_on_side_of_line
(
l1
,
reference_point
,
pts
)
==
4
);
reference_point
=
dpoint
(
0
,
0.5
);
reference_point
=
dpoint
(
0
,
0.5
);
DLIB_TEST
(
count_points_between_lines
(
l1
,
l2
,
reference_point
,
pts
)
==
0
);
DLIB_TEST
(
count_points_between_lines
(
l1
,
l2
,
reference_point
,
pts
)
==
0
);
DLIB_TEST
(
count_points_on_side_of_line
(
l1
,
reference_point
,
pts
,
10
)
==
1
);
DLIB_TEST
(
count_points_on_side_of_line
(
l1
,
reference_point
,
pts
)
==
1
);
}
}
...
...
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