summaryrefslogtreecommitdiff
path: root/_randomgen/randomgen/tests/test_legacy.py
diff options
context:
space:
mode:
Diffstat (limited to '_randomgen/randomgen/tests/test_legacy.py')
-rw-r--r--_randomgen/randomgen/tests/test_legacy.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/_randomgen/randomgen/tests/test_legacy.py b/_randomgen/randomgen/tests/test_legacy.py
index e45ba3619..21c56946f 100644
--- a/_randomgen/randomgen/tests/test_legacy.py
+++ b/_randomgen/randomgen/tests/test_legacy.py
@@ -10,3 +10,8 @@ def test_pickle():
lg2 = pickle.loads(pickle.dumps(lg))
assert lg.standard_normal() == lg2.standard_normal()
assert lg.random_sample() == lg2.random_sample()
+
+
+def test_weibull():
+ lg = LegacyGenerator()
+ assert lg.weibull(0.0) == 0.0