Skip to content

Commit a7811a9

Browse files
committed
Update test_function.py
update diamond test results
1 parent 30a1079 commit a7811a9

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

napari_crop/_tests/test_function.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@
1313
shapes = [
1414
np.array([[1, 1], [1, 3], [4, 3], [4, 1]]),
1515
np.array([[0.5, 0.5], [0.5, 3.5], [4.51, 3.5], [4.51, 0.5]]),
16-
np.array([[0, 2], [4, 4], [4, 2], [2, 0]]),
16+
np.array([[0, 2], [2, 0], [3, 2], [2, 4]]),
1717
]
1818
shape_types = ["rectangle", "ellipse", "polygon"]
1919
crop_expected = [
2020
np.array([[6, 7, 8], [11, 12, 13], [16, 17, 18], [21, 22, 23]]),
2121
np.array([[0, 7, 0], [11, 12, 13], [16, 17, 18], [0, 22, 0]]),
22-
np.array([[0, 2, 0],
23-
[6, 7, 0],
24-
[11, 12, 13],
25-
[0, 17, 18]]), # fmt: skip
22+
np.array([[ 0, 0, 2, 0, 0],
23+
[ 0, 6, 7, 8, 0],
24+
[10, 11, 12, 13, 14],
25+
[ 0, 0, 17, 0, 0]]), # fmt: skip
2626

2727
]
2828

0 commit comments

Comments
 (0)