Example #1
0
def test_of_2():
    r = Stream.of(1, 2, 3).toList()
    assert r == [1, 2, 3]
Example #2
0
def test_of_1():
    r = Stream.of().toList()
    assert r == []