示例#1
0
 public void FillBackwardWithFillSelectorButNullSequence()
 {
     Assert.ThrowsArgumentNullException("source", () =>
                                        MoreEnumerable.FillBackward <object>(null, _ => false, delegate { return(null); }));
 }
示例#2
0
        public void FillBackwardWithNullSequence()
        {
            var e = Assert.Throws <ArgumentNullException>(() => MoreEnumerable.FillBackward <object>(null));

            Assert.That(e.ParamName, Is.EqualTo("source"));
        }