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.119 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.118 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.117 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml