Upgrades to caesar_cipher.py (#1958) · coderjack/algorithms-in-python@369562a · GitHub
Skip to content

Commit 369562a

Browse files
mrmaxgunscclauss
andauthored
Upgrades to caesar_cipher.py (TheAlgorithms#1958)
* Added more flexibility to functions, decreased amount of repeating code * Added docstrings * Updated input functions * Added doctests * removed test piece of code * black . * Updated caesar cipher standard alphabet to fit python 3.8 * Update and rename sleepsort.py to sleep_sort.py * Or 4 Co-authored-by: Christian Clauss <cclauss@me.com>
1 parent c18c677 commit 369562a

4 files changed

Lines changed: 275 additions & 86 deletions

File tree

ciphers/caesar_cipher.py

Lines changed: 225 additions & 38 deletions

digital_image_processing/test_digital_image_processing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def test_burkes(file_path: str = "digital_image_processing/image_data/lena_small
8484
burkes.process()
8585
assert burkes.output_img.any()
8686

87+
8788
def test_nearest_neighbour(
8889
file_path: str = "digital_image_processing/image_data/lena_small.jpg",
8990
):

sorts/sleep_sort.py

Lines changed: 49 additions & 0 deletions

sorts/sleepsort.py

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)