7 lines
131 B
Python
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"
|