mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-03 13:11:25 +08:00
Corrected test mistake
This commit is contained in:
@@ -19,4 +19,5 @@ def test_threshold_cut():
|
||||
rag = graph.rag_meancolor(img, labels)
|
||||
new_labels = graph.threshold_cut(labels, rag, 10)
|
||||
|
||||
assert new_labels.max() == 2
|
||||
# Two labels
|
||||
assert new_labels.max() == 1
|
||||
|
||||
Reference in New Issue
Block a user