(self)
| 261 | assert qn.pmf(1) == qn.pmf(2 - 0.001) == qn.pmf(-1) == 0 |
| 262 | |
| 263 | def test_offgrid_float(self): |
| 264 | mu, sigma, q = (-0.5, 2, 0.2) |
| 265 | qn = qlognormal_gen(mu, sigma, q) |
| 266 | assert qn.pmf(0) > qn.pmf(0.2) > qn.pmf(2) > 0 |
| 267 | assert qn.pmf(0.1) == qn.pmf(0.2 - 0.001) == qn.pmf(-0.2) == 0 |
| 268 | |
| 269 | def test_numeric(self): |
| 270 | # XXX we don't have a numerically accurate computation for this guy |
nothing calls this directly
no test coverage detected