Sha256: 588fc0ff25ec8fe63f737f802237d2ac49e9cc915b1ba378dfaa55cffee0d52a

Contents?: true

Size: 569 Bytes

Versions: 37

Compression:

Stored size: 569 Bytes

Contents

open Core.Std
open OUnit2
open Atbash_cipher

let ae exp got _test_ctxt = assert_equal ~printer:String.to_string exp got

let (* SUITE *)$(suite_name)_tests = [
(* TEST
   "$description" >::
     ae $expected ($suite-name $phrase);
   END TEST *)
]
(* END SUITE *)

let different_block_size_test = [
  "encode mindblowingly with a different block size" >::
    ae "n r m w y o l d r m t o b" (encode ~block_size:1 "mindblowingly");
]

let () =
  run_test_tt_main (
    "atbash-cipher tests" >:::
      List.concat [(* suite-all-names *); different_block_size_test]
  )

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
trackler-2.0.8.22 tracks/ocaml/tools/test-generator/templates/atbash-cipher/template.ml
trackler-2.0.8.21 tracks/ocaml/tools/test-generator/templates/atbash-cipher/template.ml
trackler-2.0.8.20 tracks/ocaml/tools/test-generator/templates/atbash-cipher/template.ml
trackler-2.0.8.19 tracks/ocaml/tools/test-generator/templates/atbash-cipher/template.ml
trackler-2.0.8.18 tracks/ocaml/tools/test-generator/templates/atbash-cipher/template.ml
trackler-2.0.8.17 tracks/ocaml/tools/test-generator/templates/atbash-cipher/template.ml
trackler-2.0.8.16 tracks/ocaml/tools/test-generator/templates/atbash-cipher/template.ml
trackler-2.0.8.15 tracks/ocaml/tools/test-generator/templates/atbash-cipher/template.ml
trackler-2.0.8.14 tracks/ocaml/tools/test-generator/templates/atbash-cipher/template.ml
trackler-2.0.8.13 tracks/ocaml/tools/test-generator/templates/atbash-cipher/template.ml
trackler-2.0.8.12 tracks/ocaml/tools/test-generator/templates/atbash-cipher/template.ml
trackler-2.0.8.11 tracks/ocaml/tools/test-generator/templates/atbash-cipher/template.ml
trackler-2.0.8.10 tracks/ocaml/tools/test-generator/templates/atbash-cipher/template.ml
trackler-2.0.8.9 tracks/ocaml/tools/test-generator/templates/atbash-cipher/template.ml
trackler-2.0.8.8 tracks/ocaml/tools/test-generator/templates/atbash-cipher/template.ml
trackler-2.0.8.7 tracks/ocaml/tools/test-generator/templates/atbash-cipher/template.ml
trackler-2.0.8.6 tracks/ocaml/tools/test-generator/templates/atbash-cipher/template.ml
trackler-2.0.8.5 tracks/ocaml/tools/test-generator/templates/atbash-cipher/template.ml
trackler-2.0.8.4 tracks/ocaml/tools/test-generator/templates/atbash-cipher/template.ml
trackler-2.0.8.3 tracks/ocaml/tools/test-generator/templates/atbash-cipher/template.ml