Files
ClassicalCiphers.jl/test/runtests.jl
2021-05-03 18:50:47 +12:00

25 lines
466 B
Julia

include(joinpath(dirname(@__DIR__), "src", "ClassicalCiphers.jl")); using .ClassicalCiphers
using Test
tests = [
"common",
"playfair",
"vigenere",
"monoalphabetic",
"caesar",
"portas",
"affine",
"enigma",
"hill",
"solitaire",
"railfence",
]
println("Running tests:")
for t in tests
test_fn = "$t.jl"
println(" * $test_fn")
include(test_fn)
end