mirror of
https://github.com/donnemartin/interactive-coding-challenges
synced 2026-01-09 10:58:02 +00:00
Move string compress to a class, update test
This commit is contained in:
@@ -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__':
|
||||
|
||||
Reference in New Issue
Block a user