Sha256: 6754ad9d08431b0c62ecf80faa19e1a5087b7ff305b939c54575d185e26e29da

Contents?: true

Size: 423 Bytes

Versions: 63

Compression:

Stored size: 423 Bytes

Contents

open Base
open OUnit2
open Space_age

let ae ~delta:delta exp got _ctxt =
  let msg = Printf.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

63 entries across 63 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.179 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.178 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.177 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.176 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.175 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.174 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.173 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.172 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.171 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.170 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.169 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.167 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.166 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.165 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.164 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.163 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.162 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.161 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.160 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml