anchor.diff:      FType = proplists:get_value(ftype, Config),
       OldConf = get_rep_upd_config(Method),
       Conf = lists:keyreplace(rr_max_items, 1, OldConf, {rr_max_items, 500}),    
  -    [Start, End] = start_sync(Config, 4, 1000, [{fprob, 100}, {ftype, FType}], 
  +    {Start, End} = start_sync(Config, 4, 1000, [{fprob, 100}, {ftype, FType}], 
                                 1, 0.1, Conf),
       ?assert(sync_degree(Start) < sync_degree(End)).
   
  
positive.code: no_diff(Config) ->
      Method = proplists:get_value(ru_method, Config),
      FType = proplists:get_value(ftype, Config),
      [Start, End] = start_sync(Config, 4, 1000, [{fprob, 0}, {ftype, FType}], 
                                1, 0.1, get_rep_upd_config(Method)),
      ?assert(sync_degree(Start) =:= sync_degree(End)).
  
  min_nodes(Config) ->
      Method = proplists:get_value(ru_method, Config),
      FType = proplists:get_value(ftype, Config),
      [Start, End] = start_sync(Config, 1, 1, [{fprob, 50}, {ftype, FType}], 
                                1, 0.2, get_rep_upd_config(Method)),
      ?assert(sync_degree(Start) =:= sync_degree(End)).    
  
  simple(Config) ->
      Method = proplists:get_value(ru_method, Config),
      FType = proplists:get_value(ftype, Config),
      [Start, End] = start_sync(Config, 4, 1000, [{fprob, 10}, {ftype, FType}], 
                                1, 0.1, get_rep_upd_config(Method)),
      ?assert(sync_degree(Start) < sync_degree(End)).
  
  multi_round(Config) ->
      Method = proplists:get_value(ru_method, Config),
      FType = proplists:get_value(ftype, Config),
      [Start, End] = start_sync(Config, 4, 1000, [{fprob, 10}, {ftype, FType}], 
                                3, 0.1, get_rep_upd_config(Method)),
      ?assert(sync_degree(Start) < sync_degree(End)). 
  
  
negative.code:     unittest_helper:init_per_suite(Config).
  
  end_per_suite(Config) ->
      erlang:erase(?DBSizeKey),
      crypto:stop(),
      _ = unittest_helper:end_per_suite(Config),
      ok.
  