Coverage for src / tests / test_ends_with.py: 100%
8 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 TestEndsWith:
5 def test_data_first(self):
6 # R.ends_with(data, suffix);
7 assert not R.ends_with('hello world', 'hello')
8 assert R.ends_with('hello world', 'world')
10 def test_data_last(self):
11 # R.ends_with(suffix)(data);
12 assert not R.pipe('hello world', R.ends_with('hello'))
13 assert R.pipe('hello world', R.ends_with('world'))