コード例 #1
0
def expect_dlvl_at_index(dlvl, index, branch):
    m = Minimap()
    indices, _ = m.unconnected_branch_as_buffer_with_indices("", branch)
    assert indices[dlvl] == index
コード例 #2
0
def expect_dlvl_at_index(dlvl, index, branch):
    m = Minimap()
    indices, _ = m.unconnected_branch_as_buffer_with_indices("", branch)
    assert indices[dlvl] == index
コード例 #3
0
def expect(branch, results):
    m = Minimap()
    _, buf = m.unconnected_branch_as_buffer_with_indices("Dungeons of Doom", branch)
    assert buf == results
コード例 #4
0
def expect(branch, results):
    m = Minimap()
    _, buf = m.unconnected_branch_as_buffer_with_indices(
        "Dungeons of Doom", branch)
    assert buf == results