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

TestOrderBy() private method

private TestOrderBy ( ) : void
return void
        public virtual void TestOrderBy()
        {
            var list = db.Customers.OrderBy(c => c.CustomerID).Select(c => c.CustomerID).ToList();
            var sorted = list.OrderBy(c => c).ToList();
            AssertValue(91, list.Count);
            Assert.IsTrue(Enumerable.SequenceEqual(list, sorted));
        }
NorthwindExecutionTest