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 wrap: on
line diff
--- a/viff/test/test_bedoza_triple.py	Wed Jul 21 15:07:33 2010 +0200
+++ b/viff/test/test_bedoza_triple.py	Wed Jul 21 15:09:55 2010 +0200
@@ -309,7 +309,7 @@
         random = Random(283883)        
         triple_generator = TripleGenerator(runtime, p, random)
 
-        triples = triple_generator._generate_passive_triples(1)
+        triples = triple_generator._generate_passive_triples(5)
         def verify(triples):
             for inx in xrange(len(triples) // 3):
                 self.assertEquals(triples[10 + inx], triples[inx] * triples[5 + inx])