def test_unary_ops():
    t = Symbol('t', 'var * {name: string, amount: int}')
    expr = cos(exp(t['amount']))
    assert str(expr) in 'cos'

    assert '~' in str(~(t.amount > 0))
dataset/ETHPy150Open blaze/blaze/blaze/expr/tests/test_symbol.py/test_unary_ops/swapped operands of `in`