Example #1
0
def test_noneMatch_1():
    stream = Stream([1, 2, 3, 4])
    assert stream.noneMatch(lambda x: x < 2) is False
Example #2
0
def test_noneMatch_1():
    stream = Stream([1, 2, 3, 4])
    assert stream.noneMatch(lambda x: x > 10) is True