System.Linq.Tests.AverageTests.NullDoubleSourceWithFunc C# (CSharp) Méthode

NullDoubleSourceWithFunc() private méthode

private NullDoubleSourceWithFunc ( ) : void
Résultat void
        public void NullDoubleSourceWithFunc()
        {
            Assert.Throws<ArgumentNullException>("source", () => ((IQueryable<double>)null).Average(i => i));
        }