def test_mappers():
    from pymbolic import variables
    (f, x, y, z) = variables('f x y z')
    for expr in [f(x, (y, z), name=(z ** 2))]:
        from pymbolic.mapper import WalkMapper
        from pymbolic.mapper.dependency import DependencyMapper
        str(expr)
        IdentityMapper()(expr)
        WalkMapper()(expr)
        DependencyMapper()(expr)
def test_mappers():
    from pymbolic import variables
    (f, x, y, z) = variables('f x y z')
    for expr in [f(x, (y, z), name=(z ** 2))]:
        from pymbolic.mapper import WalkMapper
        from pymbolic.mapper.dependency import DependencyMapper
        str(expr)
        IdentityMapper()(expr)
        WalkMapper()(expr)
        DependencyMapper()(expr)