You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
waf/playground/erlang/hello_eunit.erl

11 lines
309 B
Erlang

-module(hello_eunit).
-include_lib("eunit/include/eunit.hrl").
-include("hello.hrl").
example_test_() ->
[
?_assert(hello:say_hello(waf) =:= "Hello WAF, cool to see you!"),
?_assert(hello:say_hello(make) =:= "Oh Make, you again..."),
?_assert(hello:say_hello("Mike") =:= "Hi Mike")
].