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.159 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.158 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.157 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.156 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.155 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.154 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.153 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.152 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.151 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.150 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.149 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.148 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.147 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.146 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.145 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.144 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.143 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.142 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.141 tracks/ocaml/exercises/acronym/test.ml
trackler-2.2.1.140 tracks/ocaml/exercises/acronym/test.ml