Add ks test to exponential
@@ -308,6 +308,12 @@ class TestExponential(RandomGeneratorTestCase):
def test_exponential(self):
self.generate(scale=self.scale, size=(3, 2))
+ @testing.for_dtypes('fd')
+ @condition.repeat_with_success_at_least(5, 3)
+ def test_exponential_ks(self, dtype):
+ self.check_ks(0.05)(
+ self.scale, size=2000, dtype=dtype)
+
@testing.parameterize(
{'dfnum': 1.0, 'dfden': 3.0},
