Example #1
0
def test_seq_concat_pipe3(xs: List[int], ys: List[int], zs: List[int]):
    value = seq.concat(xs, ys, zs)

    assert list(value) == xs + ys + zs
Example #2
0
def test_seq_concat_2(xs: List[int], ys: List[int]):
    value = seq.concat(xs, ys)

    assert list(value) == xs + ys
Example #3
0
def test_seq_concat_pipe(xs: List[int]):
    value = seq.concat(xs)

    assert list(value) == xs
Example #4
0
 def combine(self, xs: Iterable[TSource],
             ys: Iterable[TSource]) -> Iterable[TSource]:
     return list(seq.concat(xs, ys))