Skip to content

Commit

Permalink
Add tests for Poisson(0.0) distribution.
Browse files Browse the repository at this point in the history
  • Loading branch information
richardreeve committed Jul 31, 2015
1 parent 2c78ee9 commit 9e8cfb4
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions test/discrete_test.json
Original file line number Diff line number Diff line change
Expand Up @@ -1375,6 +1375,33 @@
"var": 1.0
}
],
[
"Poisson(0.0)",
{
"dtype": "Poisson",
"entropy": 0.0,
"maximum": 0,
"mean": 0.0,
"median": 0.0,
"minimum": 0,
"params": {
"rate": 0.0
},
"points": [
{
"cdf": 1.0,
"logpdf": 0.0,
"x": 0
}
],
"q10": 0.0,
"q25": 0.0,
"q50": 0.0,
"q75": 0.0,
"q90": 0.0,
"var": 0.0
}
],
[
"Poisson(0.5)",
{
Expand Down

0 comments on commit 9e8cfb4

Please sign in to comment.