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

TestIntNegate() private method

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