anchor.diff:          assertEqualMaps(ExpPaddedHistograms, PaddedHistograms)
       end}.
   
  +
   trim_timestamp_test() ->
       % trim_timestamp remove always 6 recent slots from minute histogram
       % (from 26 to 30 seconds depending on slots boundaries).
  
positive.code:     ?assert(Last5 > OneButLast5),
      ?assert(Last4 >= Last5),
      ?assert(OneButLast4 >= OneButLast5).
  
  decreasing_trend_at_the_end_of_histogram_test() ->
      % The end of the histogram should smoothly change towards the next measurement
  
negative.code:     ),
      ?assertEqual(ExpTransferHist, TransferHist).
  
  
  update_with_nonexistent_test() ->
      {setup, fun node_cache:init/0, fun(_) -> node_cache:destroy() end, fun() ->
          Bytes = 50,
          Histogram = histogram:increment(histogram:new(?MIN_HIST_LENGTH), Bytes),
  