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

TestDecimalNegate() private method

private TestDecimalNegate ( ) : void
return void
        public virtual void TestDecimalNegate()
        {
            var one = db.Customers.Where(c => c.CustomerID == "ALFKI").Sum(c => decimal.Negate((c.CustomerID == "ALFKI" ? 1m : 1m)));
            AssertValue(-1m, one);
        }
NorthwindExecutionTest