added pong vm

This commit is contained in:
Jeena Paradies 2011-03-06 01:11:28 +01:00
parent 2eaa278517
commit c7919309e9
13 changed files with 567 additions and 2348 deletions

View file

@ -45,9 +45,9 @@ create_table_test() ->
timer:sleep(100),
% Forcibly create a table. This functionality should be disabled
% in the production system, but is pretty nice for testing.
Response = ggs_coordinator:create_table({force, 1337}),
?assert(Response == {ok, 1337}).
Response = ggs_coordinator:create_table({force, "1337"}),
?assert(Response == {ok, "1337"}).
join_good_table_test() ->
Response = ggs_coordinator:join_table(1337),
?assert(Response == {ok, 1337}).
Response = ggs_coordinator:join_table("1337"),
?assert(Response == {ok, "1337"}).