Sha256: e92146f395a2b3c250571661beedf141ed78708008b252352f3f8ac58bdcb89f

Contents?: true

Size: 380 Bytes

Versions: 156

Compression:

Stored size: 380 Bytes

Contents

open OUnit2
open Binary_search
open Core

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 Int.to_string) 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

156 entries across 156 versions & 1 rubygems

Version Path
trackler-2.2.1.55 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.54 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.53 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.52 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.51 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.50 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.49 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.48 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.47 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.46 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.45 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.44 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.43 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.42 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.41 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.40 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.39 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.38 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.37 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.36 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml