changeset 1211:b94ff92ee1d9

Test fewer thresholds. These tests were added to ensure that everything works not only in the case where n = 2t + 1, but also when n > 2t + 1. The tests with 4, 6, and 8 players have n = 2t + 2 for that reason.
author Martin Geisler <mg@cs.au.dk>
date Thu, 17 Sep 2009 15:48:01 +0200
parents d43f766c4cac
children 2daaf0e7a1f6
files viff/test/test_thresholds.py
diffstat 1 files changed, 0 insertions(+), 40 deletions(-) [+]
line wrap: on
line diff
--- a/viff/test/test_thresholds.py	Mon Jul 27 12:16:25 2009 +0200
+++ b/viff/test/test_thresholds.py	Thu Sep 17 15:48:01 2009 +0200
@@ -91,66 +91,26 @@
     num_players = 3
     threshold = 1
 
-
 class Players4Threshold1Test(Tests, RuntimeTestCase):
     num_players = 4
     threshold = 1
 
-
-class Players5Threshold1Test(Tests, RuntimeTestCase):
-    num_players = 5
-    threshold = 1
-
 class Players5Threshold2Test(Tests, RuntimeTestCase):
     num_players = 5
     threshold = 2
 
-
-class Players6Threshold1Test(Tests, RuntimeTestCase):
-    num_players = 6
-    threshold = 1
-
 class Players6Threshold2Test(Tests, RuntimeTestCase):
     num_players = 6
     threshold = 2
 
-
-class Players7Threshold1Test(Tests, RuntimeTestCase):
-    num_players = 7
-    threshold = 1
-
-class Players7Threshold2Test(Tests, RuntimeTestCase):
-    num_players = 7
-    threshold = 2
-
 class Players7Threshold3Test(Tests, RuntimeTestCase):
     num_players = 7
     threshold = 3
 
-class Players8Threshold1Test(Tests, RuntimeTestCase):
-    num_players = 8
-    threshold = 1
-
-class Players8Threshold2Test(Tests, RuntimeTestCase):
-    num_players = 8
-    threshold = 2
-
 class Players8Threshold3Test(Tests, RuntimeTestCase):
     num_players = 8
     threshold = 3
 
-class Players9Threshold1Test(Tests, RuntimeTestCase):
-    num_players = 9
-    threshold = 1
-
-class Players9Threshold2Test(Tests, RuntimeTestCase):
-    num_players = 9
-    threshold = 2
-
-class Players9Threshold3Test(Tests, RuntimeTestCase):
-    num_players = 9
-    threshold = 3
-
 class Players9Threshold4Test(Tests, RuntimeTestCase):
     num_players = 9
     threshold = 4