Matthias Bisping 334dc79f7e refactoring
2022-03-27 18:13:58 +02:00

7 lines
131 B
Python

from funcy import rcompose
def test_rcompose():
f = rcompose(lambda x: x ** 2, str, lambda x: x * 2)
assert f(3) == "99"