clear(GameToken) aded.

This commit is contained in:
Kallfaktorn 2011-02-22 12:36:36 +01:00
parent 597070f2d6
commit 0c530dde5d
3 changed files with 36 additions and 24 deletions

View file

@ -31,7 +31,11 @@ key_test() ->
clear_test() ->
ggs_db:clear(1,1),
?assert(ggs_db:length(1,1) =:= 0),
?assert(ggs_db:length(1,1) =:= 0).
clear_GameToken_test() ->
ggs_db:clear(1),
?assert((ggs_db:length(1,1) + ggs_db:length(1,2)) =:= 0),
mnesia:stop().
%tests() ->