Move string compress to a class, update test

This commit is contained in:
Donne Martin
2016-08-13 06:37:48 -04:00
parent a9d18bdcc0
commit aa887db2e0
3 changed files with 29 additions and 22 deletions

View File

@@ -13,7 +13,8 @@ class TestCompress(object):
def main():
test = TestCompress()
test.test_compress(compress_string)
compress_string = CompressString()
test.test_compress(compress_string.compress)
if __name__ == '__main__':