Exemple #1
0
        public void IsEmptyOnFullSet()
        {
            var queue = new BoundedFifoQueue <int>();

            queue.Enqueue(4);

            Assert.That(() => queue.IsEmpty(), Is.False);
        }
Exemple #2
0
        public void IsEmptyOnEmptySet()
        {
            var queue = new BoundedFifoQueue <int>();

            Assert.That(() => queue.IsEmpty(), Is.True);
        }