def test_offgrid_float(self):
        qn = qnormal_gen(0, 1, .2)
        assert qn.pmf(0) > 0.0
        assert qn.pmf(.1) == 0.0
        assert qn.pmf(.2) > 0.0
        assert qn.pmf(.4) > 0.0
        assert qn.pmf(-.2) > 0.0
        assert qn.pmf(-.4) > 0.0
        assert qn.pmf(.99) == 0.0
        assert qn.pmf(-.99) == 0.0
dataset/ETHPy150Open hyperopt/hyperopt/hyperopt/tests/test_rdists.py/TestQNormal.test_offgrid_float/original