Пример #1
0
def test_simple():
    m = multiziperator('abc', 'def')
    assert list(m) == list('adbecf')
Пример #2
0
def test_returns_iterator():
    m = multiziperator('abc', 'def')
    assert m == iter(m)
Пример #3
0
def test_not_same_length():
    m = multiziperator('abc', 'de')
    assert list(m) == list('adbe')
Пример #4
0
def test_simple():
    m = multiziperator("abc", "def")
    assert list(m) == list("adbecf")
Пример #5
0
def test_returns_iterator():
    m = multiziperator("abc", "def")
    assert m == iter(m)
Пример #6
0
def test_not_same_length():
    m = multiziperator("abc", "de")
    assert list(m) == list("adbe")