Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
zesje
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Works on my machine
zesje
Commits
4c988766
Commit
4c988766
authored
5 years ago
by
Hidde Leistra
Browse files
Options
Downloads
Patches
Plain Diff
Change assert for detect corner marker test
parent
850ec209
No related branches found
Branches containing commit
No related tags found
1 merge request
!21
Master->develop (this MR contains no useful information)
Pipeline
#17926
failed
5 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_rotation_scan.py
+1
-1
1 addition, 1 deletion
tests/test_rotation_scan.py
with
1 addition
and
1 deletion
tests/test_rotation_scan.py
+
1
−
1
View file @
4c988766
...
...
@@ -49,7 +49,7 @@ def test_calc_angle(test_input1, test_input2, expected):
def
test_detect_enough_cornermarkers
(
name
,
datadir
):
bin_im
=
generate_binary_image
(
name
,
datadir
)
keypoints
=
scans
.
find_corner_marker_keypoints
(
bin_im
)
assert
(
len
(
keypoints
)
>=
2
&
len
(
keypoints
)
<=
4
)
assert
(
len
(
keypoints
)
>=
2
and
len
(
keypoints
)
<=
4
)
# Tests whether the detected keypoints are actually corner markers.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment