Пример #1
0
        public void TestSequence()
        {
            var products        = RepositoryFactory.GetProducts();
            var anotherProducts = RepositoryFactory.GetAnotherProducts();

            Assert.IsFalse(LilySequence(products, anotherProducts, new luckyCompary()));
        }
Пример #2
0
        public void TestSequence_item_have_one_not_equal()
        {
            var products        = RepositoryFactory.GetProducts();
            var anotherProducts = RepositoryFactory.GetAnotherProducts();

            Assert.False(WithoutLinq.CashSequence(products, anotherProducts, new MyCompareProduct()));
            Assert.False(products.CashSequence(anotherProducts, new MyCompareProduct()));
        }