def test_anyMatch_2(): stream = Stream([1, 2, 3, 4]) assert stream.anyMatch(lambda x: x < 0) is False
def test_anyMatch_1(): stream = Stream([1, 2, 3, 4]) assert stream.anyMatch(lambda x: x > 3) is True