/// <summary>
 /// Returns count of hashqueue.
 /// </summary>
 public int Count()
 {
     return(dq.Count());
 }
 public void size_whenPopulated(IDeque <SimpleLinkedValue> deque)
 {
     Assert.That(deque, HasCount((int)Capacity()));
     // linq uses the IEnumerable interface
     Assert.That(deque.Count(), Is.EqualTo((int)Capacity()));
 }