Sha256: 7b9591fba55390cc8b7facd3e78bf8c3acec140e217da2b42cc0b5a51f5580a3

Contents?: true

Size: 370 Bytes

Versions: 63

Compression:

Stored size: 370 Bytes

Contents

open OUnit2
open Binary_search

let option_to_string f = function
  | None   -> "None"
  | Some x -> "Some " ^ f x

let ae exp got _test_ctxt =
  assert_equal ~printer:(option_to_string string_of_int) exp got

let tests = [
(* TEST
  "$description" >::
    ae $expected (find $array $value);
END TEST *)
]

let () =
  run_test_tt_main ("binary-search 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/binary-search/test.ml
trackler-2.2.1.179 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.178 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.177 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.176 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.175 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.174 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.173 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.172 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.171 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.170 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.169 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.167 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.166 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.165 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.164 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.163 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.162 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.161 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.160 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml