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.159 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.158 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.157 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.156 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.155 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.154 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.153 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.152 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.151 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.150 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.149 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.148 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.147 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.146 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.145 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.144 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.143 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.142 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.141 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml
trackler-2.2.1.140 tracks/ocaml/tools/test-generator/templates/ocaml/space-age/test.ml