From ba3fb473b10c00e2347cca2eae21382ed45379a6 Mon Sep 17 00:00:00 2001 From: Kevin George Date: Mon, 19 Jun 2017 20:03:15 -0500 Subject: [PATCH] Add a test case for compress string challenge (#199) --- arrays_strings/compress/test_compress.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arrays_strings/compress/test_compress.py b/arrays_strings/compress/test_compress.py index 6395f11..a9b9304 100644 --- a/arrays_strings/compress/test_compress.py +++ b/arrays_strings/compress/test_compress.py @@ -6,6 +6,7 @@ class TestCompress(object): def test_compress(self, func): assert_equal(func(None), None) assert_equal(func(''), '') + assert_equal(func('ABC'), 'ABC') assert_equal(func('AABBCC'), 'AABBCC') assert_equal(func('AAABCCDDDDE'), 'A3BC2D4E') assert_equal(func('BAAACCDDDD'), 'BA3C2D4') @@ -20,4 +21,4 @@ def main(): if __name__ == '__main__': - main() \ No newline at end of file + main()