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.15 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.14 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.13 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.12 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.11 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.10 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.9 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.8 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.7 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.6 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.5 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.4 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.3 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.2 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.1 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.1.0 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.0.6 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.0.5 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.0.4 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.2.0.3 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml