MCPcopy Index your code
hub / github.com/kyclark/tiny_python_projects / test_stemmer

Function test_stemmer

14_rhymer/solution1_regex.py:65–73  ·  view source on GitHub ↗

test the stemmer

()

Source from the content-addressed store, hash-verified

63
64# --------------------------------------------------
65def test_stemmer():
66 """test the stemmer"""
67
68 assert stemmer('') == ('', '')
69 assert stemmer('cake') == ('c', 'ake')
70 assert stemmer('chair') == ('ch', 'air')
71 assert stemmer('APPLE') == ('', 'apple')
72 assert stemmer('RDNZL') == ('rdnzl', '')
73 assert stemmer('123') == ('123', '')
74
75
76# --------------------------------------------------

Callers

nothing calls this directly

Calls 1

stemmerFunction · 0.70

Tested by

no test coverage detected