Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8304e2 commit 7614b29Copy full SHA for 7614b29
tests/test_csp.py
@@ -340,7 +340,7 @@ def test_min_conflicts():
340
assert min_conflicts(france)
341
342
tests = [(usa, None)] * 3
343
- assert failure_test(min_conflicts, tests) > 1/3
+ assert failure_test(min_conflicts, tests) >= 1/3
344
345
australia_impossible = MapColoringCSP(list('RG'), 'SA: WA NT Q NSW V; NT: WA Q; NSW: Q V; T: ')
346
assert min_conflicts(australia_impossible, 1000) is None
0 commit comments