def test_posterior(self):
        self.var.update(150, 50)

        m = self.var.posterior.mean()
        self.var.posterior.var()
        tools.assert_true(0.7 < 0.9 < m)
dataset/ETHPy150Open bogdan-kulynych/trials/trials/tests/test_variations.py/TestBernoulli.test_posterior/swapped operands of `<`