Sha256: c74da2282b7d67085e349d49c1e28be658865baceded1be5113c9e5f0d5f1246

Contents?: true

Size: 429 Bytes

Versions: 58

Compression:

Stored size: 429 Bytes

Contents

open Core.Std
open OUnit2
open Word_count

module SMap = String.Map

let ae exp got _test_ctxt =
  let printer m = SMap.sexp_of_t Int.sexp_of_t m |> Sexp.to_string_hum ~indent:1 in
  assert_equal (SMap.of_alist_exn exp) got ~cmp:(SMap.equal (=)) ~printer

let tests = [
(* TEST
   "$description" >::
      ae $expected
         (word_count "$input");
   END TEST *)
]

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

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
trackler-2.0.5.9 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.5.8 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.5.7 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.5.6 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.5.5 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.5.4 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.5.3 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.5.2 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.5.1 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.5.0 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.4.0 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.3.9 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.3.8 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.3.7 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.3.6 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.3.5 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.3.4 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.3.3 tracks/ocaml/tools/test-generator/templates/word-count/template.ml