/rev/b94ff92ee1d9
changeset: 1211:b94ff92ee1d9
user: Martin Geisler <[email protected]>
date: Thu Sep 17 15:48:01 2009 +0200
summary: 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.
diffstat:
viff/test/test_thresholds.py | 40 ----------------------------------------
1 files changed, 0 insertions(+), 40 deletions(-)
diffs (70 lines):
diff -r d43f766c4cac -r b94ff92ee1d9 viff/test/test_thresholds.py
--- 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
_______________________________________________
viff-commits mailing list
[email protected]
http://lists.viff.dk/listinfo.cgi/viff-commits-viff.dk