mirror of
https://github.com/donnemartin/interactive-coding-challenges
synced 2026-01-09 10:58:02 +00:00
New test case to illustrate the improvements
This commit is contained in:
@@ -8,6 +8,7 @@ class TestCompress(object):
|
||||
assert_equal(func(''), '')
|
||||
assert_equal(func('AABBCC'), 'AABBCC')
|
||||
assert_equal(func('AAABCCDDDD'), 'A3BCCD4')
|
||||
assert_equal(func('aaBCCEFFFFKKMMMMMMP taaammanlaarrrr seeeeeeeeek tooo'), 'aaBCCEF4KKM6P ta3mmanlaar4 se9k to3')
|
||||
print('Success: test_compress')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user