Update test tolerance to reflect changed probabilities

This commit is contained in:
Juan Nunez-Iglesias
2016-07-27 01:01:24 +10:00
parent 2bac24fdf4
commit 18f661902c
+1 -1
View File
@@ -82,7 +82,7 @@ def test_salt_and_pepper():
assert 0.11 < proportion <= 0.18
# Verify the relative amount of salt vs. pepper is close to expected
assert 0.18 < saltmask.sum() / float(peppermask.sum()) < 0.32
assert 0.18 < saltmask.sum() / float(peppermask.sum()) < 0.33
def test_gaussian():