anchor.diff:           purge/1,
            size/1,
            info/1,
  -         set_size/2]).
  +         set_size/2,
  +         resize/2]).
   
   %% API exports
   -export([init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2,
  
positive.code:     ?assertEqual(lru:info(Cache), [{max_size, 2}, {size, 2}]),
      lru:set_size(Cache, 3),
      ?assertEqual(lru:info(Cache), [{max_size, 3}, {size, 2}]),
      lru:stop(Cache),
      ok.
  
  
negative.code: -spec set_size(Cache::pid(), Size::non_neg_integer()) -> ok.
  set_size(Cache, Size) ->
      gen_server:cast(Cache, {set_size, Size}).
  
  %% @doc resize of the cache
  -spec resize(Cache::pid(), Size::non_neg_integer()) -> ok.
  resize(Cache, Size) ->
      gen_server:cast(Cache, {resize, Size}).
  
  
  %%====================================================================
  %% Internal functions
  