Sha256: e9cf8d434b23664028189fb53668fb808bae177f3136159fc37cfa0474ebc7ec

Contents?: true

Size: 433 Bytes

Versions: 63

Compression:

Stored size: 433 Bytes

Contents

open Core_kernel
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 $sentence);
   END TEST *)
]

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

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/ocaml/tools/test-generator/templates/ocaml/word-count/test.ml
trackler-2.2.1.179 tracks/ocaml/tools/test-generator/templates/ocaml/word-count/test.ml
trackler-2.2.1.178 tracks/ocaml/tools/test-generator/templates/ocaml/word-count/test.ml
trackler-2.2.1.177 tracks/ocaml/tools/test-generator/templates/ocaml/word-count/test.ml
trackler-2.2.1.176 tracks/ocaml/tools/test-generator/templates/ocaml/word-count/test.ml
trackler-2.2.1.175 tracks/ocaml/tools/test-generator/templates/ocaml/word-count/test.ml
trackler-2.2.1.174 tracks/ocaml/tools/test-generator/templates/ocaml/word-count/test.ml
trackler-2.2.1.173 tracks/ocaml/tools/test-generator/templates/ocaml/word-count/test.ml
trackler-2.2.1.172 tracks/ocaml/tools/test-generator/templates/ocaml/word-count/test.ml
trackler-2.2.1.171 tracks/ocaml/tools/test-generator/templates/ocaml/word-count/test.ml
trackler-2.2.1.170 tracks/ocaml/tools/test-generator/templates/ocaml/word-count/test.ml
trackler-2.2.1.169 tracks/ocaml/tools/test-generator/templates/ocaml/word-count/test.ml
trackler-2.2.1.167 tracks/ocaml/tools/test-generator/templates/ocaml/word-count/test.ml
trackler-2.2.1.166 tracks/ocaml/tools/test-generator/templates/ocaml/word-count/test.ml
trackler-2.2.1.165 tracks/ocaml/tools/test-generator/templates/ocaml/word-count/test.ml
trackler-2.2.1.164 tracks/ocaml/tools/test-generator/templates/ocaml/word-count/test.ml
trackler-2.2.1.163 tracks/ocaml/tools/test-generator/templates/ocaml/word-count/test.ml
trackler-2.2.1.162 tracks/ocaml/tools/test-generator/templates/ocaml/word-count/test.ml
trackler-2.2.1.161 tracks/ocaml/tools/test-generator/templates/ocaml/word-count/test.ml
trackler-2.2.1.160 tracks/ocaml/tools/test-generator/templates/ocaml/word-count/test.ml