Added another test case
authorNeil Smith <neil.git@njae.me.uk>
Mon, 10 Mar 2014 20:34:26 +0000 (16:34 -0400)
committerNeil Smith <neil.git@njae.me.uk>
Mon, 10 Mar 2014 20:34:26 +0000 (16:34 -0400)
cipher.py

index 4ec333f2f68c1cbd511535904be9b805736d1b3d..a09c3438a64728e32bdc625bff8af847f18d2df7 100644 (file)
--- a/cipher.py
+++ b/cipher.py
@@ -170,6 +170,8 @@ def caesar_decipher(message, shift):
     'abc'
     >>> caesar_decipher('cd ez ab', 2)
     'ab cx yz'
+    >>> caesar_decipher('Jgnnq Yqtnf!', 2)
+    'Hello World!'
     """
     return caesar_encipher(message, -shift)