Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7614b29

Browse files
antmarakisnorvig
authored andcommitted
'>' to '>=' (#668)
1 parent f8304e2 commit 7614b29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_csp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ def test_min_conflicts():
340340
assert min_conflicts(france)
341341

342342
tests = [(usa, None)] * 3
343-
assert failure_test(min_conflicts, tests) > 1/3
343+
assert failure_test(min_conflicts, tests) >= 1/3
344344

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

0 commit comments

Comments
 (0)