1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
% coding: latin-1
-module(tlatin).
-include_lib("eunit/include/eunit.hrl").
'foo__test_'() ->
[
{"11", fun() -> io:format("11 ~s ~w",[<<"a">>, 'Zk']), io:format([128,64,255,255]), ?assert("g"=="g") end}
,{<<"22">>, fun() -> io:format("22 ~s",[<<"b">>]), io:format([128,64]), ?assert("g"=="g") end}
,{<<"33"/utf8>>, fun() -> io:format("33 ~ts",[<<"c"/utf8>>]), io:format([128,64]), ?assert("g"=="g") end}
,{"11", fun() -> io:format("11 ~s ~w",[<<"a">>,'Zbd']), io:format([128,64,255,255]), ?assert("w"=="w") end}
,{<<"22">>, fun() -> io:format("22 ~s",[<<"b">>]), io:format([128,64]), ?assert("w"=="w") end}
,{<<"33"/utf8>>, fun() -> io:format("33 ~ts",[<<"c"/utf8>>]), io:format([128,64]), ?assert("w"=="w") end}
].
|