From e452b7acbf6558e047901a5e04ad359684571b5e Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Thu, 2 Sep 2021 09:53:27 +0200 Subject: [PATCH] [WEI] Allow a tolerance of 25 % Signed-off-by: Yohann D'ANELLO --- apps/wei/tests/test_wei_algorithm_2021.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/wei/tests/test_wei_algorithm_2021.py b/apps/wei/tests/test_wei_algorithm_2021.py index ccac4c9d..cbc06f4e 100644 --- a/apps/wei/tests/test_wei_algorithm_2021.py +++ b/apps/wei/tests/test_wei_algorithm_2021.py @@ -102,6 +102,6 @@ class TestWEIAlgorithm(TestCase): max_score = buses[0][1] penalty += (max_score - score) ** 2 - self.assertLessEqual(max_score - score, 20) # Always less than 20 % of tolerance + self.assertLessEqual(max_score - score, 25) # Always less than 25 % of tolerance self.assertLessEqual(penalty / 100, 25) # Tolerance of 5 %