コード例 #1
0
def test_count_sequence_values():
    results = []
    func = driving.count()(_collector(results))
    for i in range(8):
        func()
    assert results == list(range(8))
コード例 #2
0
def test_count():
    results = []
    func = bd.count()(_collector(results))
    for i in range(8):
        func()
    assert results == list(range(8))
コード例 #3
0
ファイル: test_driving.py プロジェクト: Chetver/bokeh
def test_count_sequence_values():
    results = []
    func = driving.count()(_collector(results))
    for i in range(8):
        func()
    assert results == list(range(8))