protected override bool TryRemoveMany(Deque <int> subject, out IEnumerable <int> result, int count)
 => subject.TryDequeueFrontMany(out result, count);
 protected override void VerifyInternalList(Deque <int> subject, IEnumerable <int> expected)
 => subject.InternalList.AssertEqual(expected.Reverse());
 protected override IEnumerable <int> RemoveMany(Deque <int> subject, int count)
 => subject.DequeueFrontMany(count);
 protected override bool TryRemove(Deque <int> subject, out int result)
 => subject.TryDequeueFront(out result);
 protected override int Remove(Deque <int> subject)
 => subject.DequeueFront();
 protected override int GetCount(Deque <int> subject)
 => subject.Count;
Beispiel #7
0
 protected override int Remove(Deque <int> subject)
 => subject.DequeueBack();