Skip to content
Snippets Groups Projects
Commit 4c988766 authored by Hidde Leistra's avatar Hidde Leistra
Browse files

Change assert for detect corner marker test

parent 850ec209
No related branches found
No related tags found
1 merge request!21Master->develop (this MR contains no useful information)
Pipeline #17926 failed
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment