'Test negating an expression.'

def test_neg_expr(self):

    size = (5, 4)
    var = create_var(size)
    expr = neg_expr(var)
    assert (len(expr.args) == 1)
    self.assertEqual(expr.size, size)
    self.assertEqual(expr.type, NEG)
