(self)
| 255 | check_d_samples(qn, n=10000) |
| 256 | |
| 257 | def test_offgrid_int(self): |
| 258 | mu, sigma, q = (1, 2, 2) |
| 259 | qn = qlognormal_gen(mu, sigma, q) |
| 260 | assert qn.pmf(0) > qn.pmf(2) > qn.pmf(20) > 0 |
| 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) |
nothing calls this directly
no test coverage detected