Restored original compression challenge

This commit is contained in:
Ashhar Hasan
2015-12-19 02:20:59 +05:30
parent 7d6b374380
commit bbb9b74f0f
3 changed files with 54 additions and 94 deletions

View File

@@ -7,8 +7,7 @@ class TestCompress(object):
assert_equal(func(None), None)
assert_equal(func(''), '')
assert_equal(func('AABBCC'), 'AABBCC')
assert_equal(func('AAABCCDDDD'), 'A3BCCD4')
assert_equal(func('aaBCCEFFFFKKMMMMMMP taaammanlaarrrr seeeeeeeeek tooo'), 'aaBCCEF4KKM6P ta3mmanlaar4 se9k to3')
assert_equal(func('AAABCCDDDD'), 'A3B1C2D4')
print('Success: test_compress')