示例#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")