public void AddNPE() { SucceedQueue q = new SucceedQueue(); Assert.Throws <NullReferenceException>(() => q.Add(null)); }
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(); Assert.Throws<NullReferenceException>(() => q.Add(null)); }