2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-29 13:30:32 +01:00
waf/playground/erlang/hello_eunit.erl
Przemyslaw Rzepecki 69157c7b68 Udated Erlang support.
This adds a scaner method to track Erlang heders dependencies.
Support for EUnit tests
Support for EDocs
Support for ERL, ERLC, ERLC_FLAGS environment settings.
2017-12-19 22:03:41 +01:00

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")
].