protected override bool TryRemoveMany(Deque <int> subject, out IEnumerable <int> result, int count)
 => subject.TryDequeueBackMany(out result, count);
 protected override void VerifyInternalList(Deque <int> subject, IEnumerable <int> expected)
 => subject.InternalList.AssertEqual(expected);
 protected override IEnumerable <int> RemoveMany(Deque <int> subject, int count)
 => subject.DequeueBackMany(count);
 protected override bool TryRemove(Deque <int> subject, out int result)
 => subject.TryDequeueBack(out result);
 protected override int Remove(Deque <int> subject)
 => subject.DequeueBack();
 protected override int GetCount(Deque <int> subject)
 => subject.Count;
Exemple #7
0
 protected override int Remove(Deque <int> subject)
 => subject.DequeueFront();