projects
/
sawsim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cddbe96
)
Add doctest call to pysawsim.test.constant_rate.test() so nosetests will run it.
author
W. Trevor King
<wking@drexel.edu>
Fri, 5 Nov 2010 18:12:20 +0000
(14:12 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Fri, 5 Nov 2010 18:12:20 +0000
(14:12 -0400)
pysawsim/test/constant_rate.py
patch
|
blob
|
history
diff --git
a/pysawsim/test/constant_rate.py
b/pysawsim/test/constant_rate.py
index 97f755a90c5234759f3e1334460f9340e5f6099e..3bf755614e7540439cc0e3709766673c82fcc79f 100644
(file)
--- a/
pysawsim/test/constant_rate.py
+++ b/
pysawsim/test/constant_rate.py
@@
-57,6
+57,8
@@
to :math:`p(0)=1` should follow
where :math:`w` is the binwidth and :math:`N` is the number of tested
domains.
+
+>>> test()
"""
from numpy import arange, exp, log