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")); }
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")); }