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.180 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.179 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.178 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.177 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.176 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.175 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.174 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.173 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.172 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.171 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.170 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.169 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.167 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.166 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.165 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.164 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.163 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.162 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.161 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.160 tracks/ocaml/exercises/acronym/test.ml