def test_Q_end_1(self):
        "discrete_rv: Q sums to 1"
        assert (self.drv.Q[-1] - 1.0 < 1e-10)
dataset/ETHPy150Open QuantEcon/QuantEcon.py/quantecon/tests/test_discrete_rv.py/TestDiscreteRV.test_Q_end_1/original