From fbf4cf0c8fa16f1730312b53cc47150aa1ea52b1 Mon Sep 17 00:00:00 2001 From: "Zooko O'Whielacronx zooko@zooko.com" Date: Thu, 1 Feb 2007 06:32:24 +0530 Subject: [PATCH] pyfec: make randomized unit tests more comprehensive darcs-hash:3443d15b6a3c1e99cc4d98addb731f56ce4eebe0 --- pyfec/fec/test/test_pyfec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfec/fec/test/test_pyfec.py b/pyfec/fec/test/test_pyfec.py index d4f4fba..8e414f9 100755 --- a/pyfec/fec/test/test_pyfec.py +++ b/pyfec/fec/test/test_pyfec.py @@ -87,7 +87,7 @@ def pad_size(n, k): def _test_random(): m = random.randrange(1, 257) k = random.randrange(1, m+1) - l = random.randrange(0, 2**16) + l = random.randrange(0, 2**15) ss = [ randstr(l/k) for x in range(k) ] _h(k, m, ss) -- 2.45.2