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.35 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.34 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.33 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.32 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.31 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.30 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.29 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.28 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.27 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.26 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.25 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.24 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.23 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.22 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.21 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.20 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.19 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.18 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.17 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.16 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml