(self)
| 117 | check_d_samples(qu, n=10000) |
| 118 | |
| 119 | def test_offgrid_int(self): |
| 120 | qn = quniform_gen(0, 2, 2) |
| 121 | assert qn.pmf(0) > 0.0 |
| 122 | assert qn.pmf(1) == 0.0 |
| 123 | assert qn.pmf(2) > 0.0 |
| 124 | assert qn.pmf(3) == 0.0 |
| 125 | assert qn.pmf(-1) == 0.0 |
| 126 | |
| 127 | def test_offgrid_float(self): |
| 128 | qn = quniform_gen(0, 1, 0.2) |
nothing calls this directly
no test coverage detected