key with test.

This commit is contained in:
Kallfaktorn 2011-02-21 23:55:20 +01:00
parent c66d1cef69
commit 8b978934c7
2 changed files with 14 additions and 4 deletions

View file

@ -24,9 +24,12 @@ length_test() ->
removeItem_test() ->
ggs_db:removeItem(1,1,4),
?assertNot(ggs_db:getItem(1,1,4) =:= {atomic,"114"}),
mnesia:stop().
?assertNot(ggs_db:getItem(1,1,4) =:= {atomic,"114"}).
%mnesia:stop().
key_test() ->
?assert(ggs_db:key(1,1,2) =:= {1,1,3}),
mnesia:stop().
%cleanup(Val) ->
% mnesia:stop().