diff --git a/tests/test_pregrader.py b/tests/test_pregrader.py index e5babb3feaee2573b73ae81eb92948f094204244..895adb3e71b6543f8fc9abdad0375c3221c18780 100644 --- a/tests/test_pregrader.py +++ b/tests/test_pregrader.py @@ -33,10 +33,11 @@ def test_ideal_crops(box_coords, result, scanned_image_keypoints, scanned_image) @pytest.mark.parametrize('box_coords, result', [((341, 471), True), ((352, 482), True), ((448, 482), True), - ((423, 474), True), ((460, 475), False), ((477, 474), True)], + ((423, 474), True), ((460, 475), False), ((477, 474), True), + ((87, 548), False)], ids=["1 filled bottom right", "1 filled top left", "5 filled with a bit of 6", "4 fully filled with the label", "6 empty with label", - "7 partially cropped, filled and a part of 6"]) + "7 partially cropped, filled and a part of 6", "B empty with cb at the bottom"]) def test_shifted_crops(box_coords, result, scanned_image_keypoints, scanned_image): assert pregrader.box_is_filled(box_coords, scanned_image, scanned_image_keypoints[0]) == result