Skip to content

Commit

Permalink
fix: added 2 normal cases with small values of p - Feedback addressed…
Browse files Browse the repository at this point in the history
… by Jason Lee
  • Loading branch information
jasonmlee committed Jan 30, 2025
1 parent 2823927 commit dc84468
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_qnorm.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ def test_output_datatype():
(0.99, 0, 1, True, norm.ppf(0.99)),
(0.99, 0, 1, False, norm.isf(0.99)),
(0.99, 10, 5, True, norm.ppf(0.99, 10, 5)),
(0.99, 10, 5, False, norm.isf(0.99, 10, 5))
(0.99, 10, 5, False, norm.isf(0.99, 10, 5)),
(0.01, 0, 1, True, norm.ppf(0.01, 0, 1)),
(0.01, 0, 1, False, norm.isf(0.01, 0, 1))
]
)
def test_normal_cases(p, mean, sd, lower_tail, expected, tol=1e-6):
Expand Down

0 comments on commit dc84468

Please sign in to comment.