def test_merge_common_subexpression():
    t = symbol('t', 'var * {a: float64}')
    result = common_subexpression(t.a % 3 - t.a, t.a % 3)
    assert result.isidentical(t.a)
dataset/ETHPy150Open blaze/blaze/blaze/expr/tests/test_collections.py/test_merge_common_subexpression/swapped operands of `-`