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.5.5 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.5.4 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.5.3 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.5.2 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.5.1 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.5.0 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.4.0 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.3.9 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.3.8 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.3.7 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.3.6 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.3.5 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.3.4 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.3.3 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.3.2 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.3.1 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.3.0 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.2.0 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.1.2 tracks/ocaml/exercises/hello-world/test.ml
trackler-2.0.1.1 tracks/ocaml/exercises/hello-world/test.ml