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