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

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