projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b9630d
)
pyfec: make randomized unit tests more comprehensive
author
Zooko O'Whielacronx
<zooko@zooko.com>
Thu, 1 Feb 2007 02:02:24 +0000
(19:02 -0700)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Thu, 1 Feb 2007 02:02:24 +0000
(19:02 -0700)
pyfec/fec/test/test_pyfec.py
patch
|
blob
|
history
diff --git
a/pyfec/fec/test/test_pyfec.py
b/pyfec/fec/test/test_pyfec.py
index d4f4fba9997904d478a07c9a728a5d742a7c21df..8e414f96526f852d99f65ea8a9b4bc055e2ae8fa 100644
(file)
--- 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**1
6
)
+ l = random.randrange(0, 2**1
5
)
ss = [ randstr(l/k) for x in range(k) ]
_h(k, m, ss)