exercism-ocaml/hello-world/test.ml

12 lines
222 B
OCaml
Raw Normal View History

2024-01-13 12:19:21 +01:00
open OUnit2
open Hello_world
let ae exp got _test_ctxt = assert_equal ~printer:(fun x -> x) exp got
let tests = [
"Say Hi!" >:: ae "Hello, World!" hello;
]
let () =
run_test_tt_main ("Hello World tests" >::: tests)