From 4c98876640618eab734ec0a2951404f60e04d80e Mon Sep 17 00:00:00 2001 From: Hidde Leistra <hleistra@gmail.com> Date: Fri, 24 May 2019 17:52:48 +0200 Subject: [PATCH] Change assert for detect corner marker test --- tests/test_rotation_scan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_rotation_scan.py b/tests/test_rotation_scan.py index 0025d96c..b9fea8f2 100644 --- a/tests/test_rotation_scan.py +++ b/tests/test_rotation_scan.py @@ -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. -- GitLab