public void StackQueueAddedItemCountTest() { StackQueue sq = new StackQueue(); sq.Enqueue(new StackQueueElement() { ElementValue = 1 }); sq.Enqueue(new StackQueueElement() { ElementValue = 2 }); sq.Enqueue(new StackQueueElement() { ElementValue = 3 }); Assert.AreEqual(3, sq.Count()); }