Sha256: c5d020f6c423f71b159898b991c681687aaeef5b672b4548a157582e15dda8af

Contents?: true

Size: 383 Bytes

Versions: 80

Compression:

Stored size: 383 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

80 entries across 80 versions & 1 rubygems

Version Path
trackler-2.0.8.1 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.7.0 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.6.44 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.6.43 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.6.42 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.6.41 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.6.40 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.6.39 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.6.38 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.6.37 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.6.36 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.6.35 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.6.34 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.6.33 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.6.32 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.6.31 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.6.30 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.6.29 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.6.28 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.6.27 tracks/ocaml/exercises/hello-world/test.ml