Пример #1
0
            public void NoneMatch()
            {
                var a = ImmutableList.Create("a", "a", "a");
                var b = ImmutableList.Create("b", "b", "b");

                Assert.IsFalse(Seq.All(a, b, (x, y) => x == "z" && y == "c"));
            }
Пример #2
0
            public void BothMatch()
            {
                var a = ImmutableList.Create("a", "a", "a");
                var b = ImmutableList.Create("b", "b", "b");

                Assert.IsTrue(Seq.All(a, b, (x, y) => x == "a" && y == "b"));
            }