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