def test_offgrid_int(self):
        mu, sigma, q = (1, 2, 2)
        qn = qlognormal_gen(mu, sigma, q)
        assert qn.pmf(0) > qn.pmf(2) > qn.pmf(20) > 0
        assert qn.pmf(1) == qn.pmf(2-.001) == qn.pmf(-1) == 0
dataset/ETHPy150Open hyperopt/hyperopt/hyperopt/tests/test_rdists.py/TestQLogNormal.test_offgrid_int/original