From 68377faf337c30fc10cfe888cb80dbec45bf5071 Mon Sep 17 00:00:00 2001 From: Anthony Marakis Date: Sat, 16 Dec 2017 17:44:00 +0200 Subject: [PATCH] '>' to '>=' --- tests/test_csp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_csp.py b/tests/test_csp.py index f303af6f9..4e2c4f119 100644 --- a/tests/test_csp.py +++ b/tests/test_csp.py @@ -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 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy