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.6.30 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.6.29 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.6.28 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.6.27 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.6.26 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.6.25 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.6.24 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.6.23 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.6.22 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.6.21 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.6.20 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.6.19 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.6.18 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.6.17 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.6.16 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.6.15 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.6.14 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.6.13 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.6.12 tracks/ocaml/tools/test-generator/templates/word-count/template.ml
trackler-2.0.6.11 tracks/ocaml/tools/test-generator/templates/word-count/template.ml