anchor.diff:  -author("Christopher Meiklejohn <cmeiklejohn@basho.com>").
   
   -include("lasp.hrl").
  +
  +-ifdef(TEST).
  +-include_lib("eunit/include/eunit.hrl").
  +-endif.
   
   %% Exported utility functions.
   -export([threshold_met/3,
  
positive.code: %%
  is_lattice_strict_inflation(lasp_ivar, undefined, undefined) ->
      false;
  is_lattice_strict_inflation(lasp_ivar, undefined, Current) when Current =/= undefined ->
      true;
  is_lattice_strict_inflation(lasp_ivar, _Previous, _Current) ->
      false;
  is_lattice_strict_inflation(riak_dt_gset, undefined, Current) ->
      is_lattice_inflation(riak_dt_gset, undefined, Current);
  is_lattice_strict_inflation(riak_dt_gset, Previous, Current) ->
      is_lattice_inflation(riak_dt_gset, Previous, Current) andalso
          lists:usort(riak_dt_gset:value(Previous)) =/=
          lists:usort(riak_dt_gset:value(Current)).
  
negative.code:     true;
  threshold_met(lasp_ivar, Value, Threshold) when Value =/= Threshold ->
      false;
  
  threshold_met(riak_dt_gset, Value, {strict, Threshold}) ->
      is_strict_inflation(riak_dt_gset, Threshold, Value);
  threshold_met(riak_dt_gset, Value, Threshold) ->
      is_inflation(riak_dt_gset, Threshold, Value);
  
  threshold_met(riak_dt_gcounter, Value, {strict, Threshold}) ->
      Threshold < riak_dt_gcounter:value(Value);
  threshold_met(riak_dt_gcounter, Value, Threshold) ->
  