def test_func_dep_consistency():
    from pymbolic import var
    from pymbolic.mapper.dependency import DependencyMapper
    f = var('f')
    x = var('x')
    dep_map = DependencyMapper(include_calls='descend_args')
    assert (dep_map(f(x)) == {x})
    assert (dep_map(f(x=x)) == {x})
def test_func_dep_consistency():
    from pymbolic import var
    from pymbolic.mapper.dependency import DependencyMapper
    f = var('f')
    x = var('x')
    dep_map = DependencyMapper(include_calls='descend_args')
    assert (dep_map(f(x)) == {x})
    assert (dep_map(f(x=x)) == {x})