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

TestDecimalLT() private method

private TestDecimalLT ( ) : void
return void
        public virtual void TestDecimalLT()
        {
            // prove that decimals are treated normally with respect to normal comparison operators
            var alfki = db.Customers.SingleOrDefault(c => c.CustomerID == "ALFKI" && (c.CustomerID == "ALFKI" ? 1.0m : 3.0m) < 2.0m);
            Assert.AreNotEqual(null, alfki);
        }
NorthwindExecutionTest