Sha256: 5ad2217385c542ddce5505d5d4c319d1cfe08a00a024af22a5887c1722842d55

Contents?: true

Size: 438 Bytes

Versions: 156

Compression:

Stored size: 438 Bytes

Contents

open Core
open OUnit2
open Space_age

(* Assert In Delta *)
let ae ~delta:delta exp got _ctxt =
  let msg = sprintf "Expected %f got %f, difference is greater than %f"
                    exp got delta in
  assert_bool msg (cmp_float ~epsilon:delta exp got)

let tests = [
(* TEST
   "$description" >::
      ae ~delta:0.005 $expected (age_on $planet $seconds);
   END TEST *)
]

let () =
  run_test_tt_main ("space-age tests" >::: tests)

Version data entries

156 entries across 156 versions & 1 rubygems

Version Path
trackler-2.2.1.95 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.94 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.93 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.92 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.91 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.90 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.89 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.88 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.87 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.86 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.85 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.84 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.83 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.82 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.81 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.80 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.79 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.78 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.77 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.76 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml