added pong vm
This commit is contained in:
parent
2eaa278517
commit
c7919309e9
13 changed files with 567 additions and 2348 deletions
|
@ -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"}).
|
||||
|
|
Reference in a new issue