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:
367faee
)
pyfec: add variant of randomized test which happens to match the interface to benchutil
author
Zooko O'Whielacronx
<zooko@zooko.com>
Thu, 1 Feb 2007 05:55:28 +0000
(22:55 -0700)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Thu, 1 Feb 2007 05:55:28 +0000
(22:55 -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 8e414f96526f852d99f65ea8a9b4bc055e2ae8fa..e536d3b15b93c15ddca833488fdd686d6b23c63e 100644
(file)
--- a/
pyfec/fec/test/test_pyfec.py
+++ b/
pyfec/fec/test/test_pyfec.py
@@
-91,6
+91,12
@@
def _test_random():
ss = [ randstr(l/k) for x in range(k) ]
_h(k, m, ss)
+def _test_random_with_l(l):
+ m = 83
+ k = 19
+ ss = [ randstr(l/k) for x in range(k) ]
+ _h(k, m, ss)
+
def test_random(noisy=True):
for i in range(2**5):
# sys.stdout.write(",")