mirror of
https://github.com/Smaug123/ClassicalCiphers.jl
synced 2025-10-07 10:28:40 +00:00
Ensure tests don't have multiple imports (the base runtests file already imports ClassicalCiphers)
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
using ClassicalCiphers
|
||||
using Test
|
||||
|
||||
# Wikipedia example
|
||||
@test encrypt_playfair("Hide the gold in the tree stump", "playfair example") == "BMODZBXDNABEKUDMUIXMMOUVIF"
|
||||
|
||||
@@ -23,4 +20,4 @@ using Test
|
||||
@test (arr = ['P' 'L' 'A' 'Y' 'F'; 'I' 'R' 'E' 'X' 'M'; 'B' 'C' 'D' 'G' 'H'; 'K' 'N' 'O' 'Q' 'S'; 'T' 'U' 'V' 'W' 'Z'];
|
||||
decrypt_playfair("DMYRANVQCRGE", arr) == "helxloworldx")
|
||||
@test decrypt_playfair("GDDOGDRQARKYGDHDNKPRDAMSOGUPGKICQY", "charles") == "meetmeathamxmersmithbridgetonightx"
|
||||
@test decrypt_playfair("BMODZBXDNABEKUDMUIXMMOUVIF", "playfair example") == "hidethegoldinthetrexestump"
|
||||
@test decrypt_playfair("BMODZBXDNABEKUDMUIXMMOUVIF", "playfair example") == "hidethegoldinthetrexestump"
|
||||
|
Reference in New Issue
Block a user