Sha256: c23a2b90fc3f8420b4a6c83b2f4a5e84aeab9b7b34dbcd25bbef80b56f11cac4

Contents?: true

Size: 595 Bytes

Versions: 68

Compression:

Stored size: 595 Bytes

Contents

(* Test/exercise version: "1.3.0" *)

open OUnit2
open Acronym

let ae exp got _test_ctxt =
  assert_equal exp got ~printer:(fun x -> x )

let tests = [
  "basic" >::
    ae "PNG" (acronym "Portable Network Graphics");
  "lowercase words" >::
    ae "ROR" (acronym "Ruby on Rails");
  "punctuation" >::
    ae "FIFO" (acronym "First In, First Out");
  "all caps word" >::
    ae "GIMP" (acronym "GNU Image Manipulation Program");
  "punctuation without whitespace" >::
    ae "CMOS" (acronym "Complementary metal-oxide semiconductor");
]

let () =
  run_test_tt_main ("acronym tests" >::: tests)

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
trackler-2.2.1.139 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.138 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.137 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.136 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.135 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.134 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.133 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.132 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.131 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.130 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.129 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.128 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.127 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.126 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.125 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.124 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.123 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.122 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.121 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.120 tracks/ocaml/exercises/acronym/test.ml