anchor.diff:       ?_assertError(badarg, ?rqueue:pop(Q0)),
        ?_assertEqual(false, ?rqueue:peek(Q0)),
        ?_assertNot(?rqueue:is_head(0, 0, 0, Q0)),
  -     ?_assertNot(?rqueue:has_offset(0, 0, Q0))].
  +     ?_assertNot(?rqueue:has_offset(0, 0, Q0)),
  +     ?_assertEqual([], ?rqueue:to_list(Q0))].
   
   one_request_test_() ->
       Q0 = ?rqueue:new(),
  
positive.code:     {R2, OQ2} = ?rqueue:pop(OQ1),
      [?_assertEqual({0,0,1}, R0),
       ?_assertEqual({0,1,1}, R1),
       ?_assertEqual({0,2,1}, R2)].
  
  
  
  
negative.code:     new(2, 10).
  
  
  %% @doc Get the list of chunks in the request queue
  %% @end
  -spec to_list(#requestqueue{}) -> [requestspec()].
  to_list(Requestqueue) ->
      #requestqueue{queue=Queue} = Requestqueue,
      queue:to_list(Queue).
  
  
  %% @doc Create an empty request queue and specify pipeline thresholds
  %% @end
  -spec new(non_neg_integer(), pos_integer()) -> requestqueue().
  