Sha256: cfaf936b89e44a5f2481b735a2cc11c7c5bc9c961d6f9c6f315cb7a8bf551596

Contents?: true

Size: 384 Bytes

Versions: 21

Compression:

Stored size: 384 Bytes

Contents

open Core.Std
open OUnit2
open Hello_world

let ae exp got _test_ctxt = assert_equal ~printer:String.to_string exp got

let tests =
  ["no name">::
   ae "Hello, World!" (greet None);
   "sample name">::
   ae "Hello, Alice!" (greet (Some "Alice"));
   "other sample name">::
   ae "Hello, Bob!" (greet (Some "Bob"));
  ]

let () =
  run_test_tt_main ("Hello World tests" >::: tests)

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
trackler-2.0.1.0 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.0.10 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.0.9 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.0.8 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.0.7 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.0.6 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.0.5 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.0.4 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.0.3 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.0.2 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.0.1 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.0.0 tracks/ocaml/exercises/hello-world/test.ml
trackler-1.0.4.1 tracks/ocaml/exercises/hello-world/test.ml
trackler-1.0.4.0 tracks/ocaml/exercises/hello-world/test.ml
trackler-1.0.3.0 tracks/ocaml/exercises/hello-world/test.ml
trackler-1.0.2.1 tracks/ocaml/exercises/hello-world/test.ml
trackler-1.0.2.0 tracks/ocaml/exercises/hello-world/test.ml
trackler-1.0.1.2 tracks/ocaml/exercises/hello-world/test.ml
trackler-1.0.1.1 tracks/ocaml/exercises/hello-world/test.ml
trackler-1.0.1.0 tracks/ocaml/exercises/hello-world/test.ml