Coverage for src / tests / test_piped.py: 100%
4 statements
« prev ^ index » next coverage.py v7.13.2, created at 2026-02-02 10:52 +0100
« prev ^ index » next coverage.py v7.13.2, created at 2026-02-02 10:52 +0100
1import remedapy as R
4class TestPiped:
5 def test_data_last(self):
6 # R.piped(...functions)(data);
7 assert list(R.map([{'a': 1}, {'a': 2}, {'a': 3}], R.piped(R.prop('a'), R.default_to(0), R.add(1)))) == [2, 3, 4]