def test_detect_intraday(self, positions, transactions, expected): detected = detect_intraday(positions, transactions, threshold=0.25) assert_equal(detected, expected)
def test_detect_intraday(self, positions, transactions, expected): detected = detect_intraday(positions, transactions, threshold=0.25) assert detected == expected