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