Exemple #1
0
        public void AddNPE()
        {
            SucceedQueue q = new SucceedQueue();

            Assert.Throws <NullReferenceException>(() => q.Add(null));
        }
Exemple #2
0
        public void AddSucceed()
        {
            SucceedQueue q = new SucceedQueue();

            Assert.IsTrue(q.Add(Int32.Parse("2")));
        }
        public void AddNPE()
        {
            SucceedQueue q = new SucceedQueue();

            q.Add(null);
        }
		public void AddNPE()
		{
			SucceedQueue q = new SucceedQueue();
			q.Add(null);
		}
		public void AddSucceed()
		{
			SucceedQueue q = new SucceedQueue();
			Assert.IsTrue(q.Add(Int32.Parse("2")));
		}
		public void AddNPE()
		{
			SucceedQueue q = new SucceedQueue();
			Assert.Throws<NullReferenceException>(() => q.Add(null));
		}