def test_initialize_default(self):
        algo = dummy.Random()
        eq_(algo.identity, self.default_identity)
        eq_(algo.middlewares, [])
        ok_(0.5 > algo.buy_trigger and algo.buy_trigger < 1)
        ok_(algo.sell_trigger > 0 and algo.sell_trigger < 0.5)
dataset/ETHPy150Open intuition-io/insights/tests/algorithms/test_dummy.py/RandomAlgoTestCase.test_initialize_default/swapped operands of `>`