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

TestMathAtan() private method

private TestMathAtan ( ) : void
return void
        public virtual void TestMathAtan()
        {
            var zero = db.Customers.Where(c => c.CustomerID == "ALFKI").Sum(c => Math.Atan((c.CustomerID == "ALFKI") ? 0.0 : 0.0));
            var one = db.Customers.Where(c => c.CustomerID == "ALFKI").Sum(c => Math.Atan((c.CustomerID == "ALFKI") ? 1.0 : 1.0));
            AssertValue(Math.Atan(0.0), zero, 0.0001);
            AssertValue(Math.Atan(1.0), one, 0.0001);
        }
NorthwindExecutionTest