Corrected test mistake

This commit is contained in:
Vighnesh Birodkar
2014-06-19 02:50:24 +05:30
parent c08d96d2b5
commit 18a6535089
+2 -1
View File
@@ -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