Skip to content

Commit

Permalink
'>' to '>=' (#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
antmarakis authored and norvig committed Dec 20, 2017
1 parent f8304e2 commit 7614b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_csp.py
Expand Up @@ -340,7 +340,7 @@ def test_min_conflicts():
assert min_conflicts(france)

tests = [(usa, None)] * 3
assert failure_test(min_conflicts, tests) > 1/3
assert failure_test(min_conflicts, tests) >= 1/3

australia_impossible = MapColoringCSP(list('RG'), 'SA: WA NT Q NSW V; NT: WA Q; NSW: Q V; T: ')
assert min_conflicts(australia_impossible, 1000) is None
Expand Down

0 comments on commit 7614b29

Please sign in to comment.