viff

changeset 1515:2fb1e2fc8707

BeDOZa: Fixed bug in tests.
author Janus Dam Nielsen <janus.nielsen@alexandra.dk>
date Wed, 21 Jul 2010 15:09:55 +0200
parents c3f671892261
children 7beb12b97911
files viff/test/test_bedoza_triple.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/viff/test/test_bedoza_triple.py	Wed Jul 21 15:07:33 2010 +0200
     1.2 +++ b/viff/test/test_bedoza_triple.py	Wed Jul 21 15:09:55 2010 +0200
     1.3 @@ -309,7 +309,7 @@
     1.4          random = Random(283883)        
     1.5          triple_generator = TripleGenerator(runtime, p, random)
     1.6  
     1.7 -        triples = triple_generator._generate_passive_triples(1)
     1.8 +        triples = triple_generator._generate_passive_triples(5)
     1.9          def verify(triples):
    1.10              for inx in xrange(len(triples) // 3):
    1.11                  self.assertEquals(triples[10 + inx], triples[inx] * triples[5 + inx])