Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbailey committed Dec 14, 2019
1 parent ad4812f commit 45e0a25
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_likelihood.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ def test_likelihood(self):
"""
Test a likelihood
"""
self.assertRaises(ValueError, Likelihood(-1))
self.assertEqual(self.likelihood["name"], str(LAM))
self.assertEqual(self.likelihood["lam"], LAM)
self.assertIsNotNone(self.likelihood.plot())


if __name__ == "__main__":
Expand Down

0 comments on commit 45e0a25

Please sign in to comment.