Esempio n. 1
0
        public void TestSequence()
        {
            var products        = RepositoryFactory.GetProducts();
            var anotherProducts = RepositoryFactory.GetAnotherProducts();

            Assert.IsFalse(LilySequence(products, anotherProducts, new luckyCompary()));
        }
Esempio n. 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()));
        }