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.1.0.38 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.1.0.37 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.1.0.36 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.1.0.34 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.1.0.33 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.1.0.32 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.1.0.31 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/test.ml
trackler-2.1.0.30 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/template.ml
trackler-2.1.0.29 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/template.ml
trackler-2.1.0.28 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/template.ml
trackler-2.1.0.27 tracks/ocaml/tools/test-generator/templates/ocaml/binary-search/template.ml
trackler-2.1.0.26 tracks/ocaml/tools/test-generator/templates/binary-search/template.ml
trackler-2.1.0.25 tracks/ocaml/tools/test-generator/templates/binary-search/template.ml
trackler-2.1.0.24 tracks/ocaml/tools/test-generator/templates/binary-search/template.ml
trackler-2.1.0.23 tracks/ocaml/tools/test-generator/templates/binary-search/template.ml
trackler-2.1.0.22 tracks/ocaml/tools/test-generator/templates/binary-search/template.ml