viff

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 diff
     1.1 --- a/viff/test/test_thresholds.py	Mon Jul 27 12:16:25 2009 +0200
     1.2 +++ b/viff/test/test_thresholds.py	Thu Sep 17 15:48:01 2009 +0200
     1.3 @@ -91,66 +91,26 @@
     1.4      num_players = 3
     1.5      threshold = 1
     1.6  
     1.7 -
     1.8  class Players4Threshold1Test(Tests, RuntimeTestCase):
     1.9      num_players = 4
    1.10      threshold = 1
    1.11  
    1.12 -
    1.13 -class Players5Threshold1Test(Tests, RuntimeTestCase):
    1.14 -    num_players = 5
    1.15 -    threshold = 1
    1.16 -
    1.17  class Players5Threshold2Test(Tests, RuntimeTestCase):
    1.18      num_players = 5
    1.19      threshold = 2
    1.20  
    1.21 -
    1.22 -class Players6Threshold1Test(Tests, RuntimeTestCase):
    1.23 -    num_players = 6
    1.24 -    threshold = 1
    1.25 -
    1.26  class Players6Threshold2Test(Tests, RuntimeTestCase):
    1.27      num_players = 6
    1.28      threshold = 2
    1.29  
    1.30 -
    1.31 -class Players7Threshold1Test(Tests, RuntimeTestCase):
    1.32 -    num_players = 7
    1.33 -    threshold = 1
    1.34 -
    1.35 -class Players7Threshold2Test(Tests, RuntimeTestCase):
    1.36 -    num_players = 7
    1.37 -    threshold = 2
    1.38 -
    1.39  class Players7Threshold3Test(Tests, RuntimeTestCase):
    1.40      num_players = 7
    1.41      threshold = 3
    1.42  
    1.43 -class Players8Threshold1Test(Tests, RuntimeTestCase):
    1.44 -    num_players = 8
    1.45 -    threshold = 1
    1.46 -
    1.47 -class Players8Threshold2Test(Tests, RuntimeTestCase):
    1.48 -    num_players = 8
    1.49 -    threshold = 2
    1.50 -
    1.51  class Players8Threshold3Test(Tests, RuntimeTestCase):
    1.52      num_players = 8
    1.53      threshold = 3
    1.54  
    1.55 -class Players9Threshold1Test(Tests, RuntimeTestCase):
    1.56 -    num_players = 9
    1.57 -    threshold = 1
    1.58 -
    1.59 -class Players9Threshold2Test(Tests, RuntimeTestCase):
    1.60 -    num_players = 9
    1.61 -    threshold = 2
    1.62 -
    1.63 -class Players9Threshold3Test(Tests, RuntimeTestCase):
    1.64 -    num_players = 9
    1.65 -    threshold = 3
    1.66 -
    1.67  class Players9Threshold4Test(Tests, RuntimeTestCase):
    1.68      num_players = 9
    1.69      threshold = 4