NLite.Data.Test.NorthwindExecutionTest.TestMathLog C# (CSharp) Method

TestMathLog() private method

private TestMathLog ( ) : void
return void
        public virtual void TestMathLog()
        {
            var one = db.Customers.Where(c => c.CustomerID == "ALFKI").Sum(c => Math.Log((c.CustomerID == "ALFKI") ? 1.0 : 1.0));
            var e = db.Customers.Where(c => c.CustomerID == "ALFKI").Sum(c => Math.Log((c.CustomerID == "ALFKI") ? Math.E : Math.E));
            AssertValue(Math.Log(1.0), one, 0.0001);
            AssertValue(Math.Log(Math.E), e, 0.0001);
        }
NorthwindExecutionTest