hello_eunit.erl 309 B

12345678910
  1. -module(hello_eunit).
  2. -include_lib("eunit/include/eunit.hrl").
  3. -include("hello.hrl").
  4. example_test_() ->
  5. [
  6. ?_assert(hello:say_hello(waf) =:= "Hello WAF, cool to see you!"),
  7. ?_assert(hello:say_hello(make) =:= "Oh Make, you again..."),
  8. ?_assert(hello:say_hello("Mike") =:= "Hi Mike")
  9. ].