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

TestMathRoundDefault() private method

private TestMathRoundDefault ( ) : void
return void
        public virtual void TestMathRoundDefault()
        {
            var four = db.Customers.Where(c => c.CustomerID == "ALFKI").Sum(c => Math.Round((c.CustomerID == "ALFKI") ? 3.4 : 3.4));
            var six = db.Customers.Where(c => c.CustomerID == "ALFKI").Sum(c => Math.Round((c.CustomerID == "ALFKI") ? 3.6 : 3.6));
            AssertValue(3.0, four);
            AssertValue(4.0, six);
        }
NorthwindExecutionTest