def test_count_sequence_values():
    results = []
    func = driving.count()(_collector(results))
    for i in range(8):
        func()
    assert results == list(range(8))
def test_count():
    results = []
    func = bd.count()(_collector(results))
    for i in range(8):
        func()
    assert results == list(range(8))
示例#3
0
def test_count_sequence_values():
    results = []
    func = driving.count()(_collector(results))
    for i in range(8):
        func()
    assert results == list(range(8))