void Add6ELements(RingBuffer <int> rb) { Add5Elemenets(rb); rb.Add(6); }
public void RingBuffer_Capacity() { var rb = new RingBuffer <int>(5, RingOverflowBehavior.ThrowException); Assert.AreEqual(rb.Capacity, 5); }