Skip to content

Commit

Permalink
Add DM test case based on BetaBinomial.
Browse files Browse the repository at this point in the history
  • Loading branch information
bsmith89 committed Dec 16, 2019
1 parent f41450d commit 46ceefb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pymc3/tests/test_distributions_random.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,11 @@ class TestBetaBinomial(BaseTestCases.BaseTestCase):
params = {'n': 5, 'alpha': 1., 'beta': 1.}


class TestDirichletMultinomial(BaseTestCases.BaseTestCase):
distribution = pm.DirichletMultinomial
params = {'n': [5], 'alpha': [[1., 1., 1., 1.]]}


class TestBernoulli(BaseTestCases.BaseTestCase):
distribution = pm.Bernoulli
params = {'p': 0.5}
Expand Down

0 comments on commit 46ceefb

Please sign in to comment.