Example #1
0
        public void TryDequeue_Exceptions()
        {
            string element;

            Assert.Throws <ArgumentNullException> (() => QueueCoda.TryDequeue(null, out element));
        }
Example #2
0
 public void DequeueOrDefault_Exceptions()
 {
     Assert.Throws <ArgumentNullException> (() => QueueCoda.DequeueOrDefault <string> (null));
 }