tracks/ocaml/exercises/atbash-cipher/test.ml in trackler-2.1.0.12 vs tracks/ocaml/exercises/atbash-cipher/test.ml in trackler-2.1.0.13
- old
+ new
@@ -1,5 +1,7 @@
+(* Test/exercise version: "1.0.0" *)
+
open Core.Std
open OUnit2
open Atbash_cipher
let ae exp got _test_ctxt = assert_equal ~printer:String.to_string exp got
@@ -20,9 +22,10 @@
"encode deep thought" >::
ae "gifgs rhurx grlm" (encode "Truth is fiction.");
"encode all the letters" >::
ae "gsvjf rxpyi ldmul cqfnk hlevi gsvoz abwlt" (encode "The quick brown fox jumps over the lazy dog.");
]
+
let decode_tests = [
"decode exercism" >::
ae "exercism" (decode "vcvix rhn");
"decode a sentence" >::
\ No newline at end of file