def expect_dlvl_at_index(dlvl, index, branch): m = Minimap() indices, _ = m.unconnected_branch_as_buffer_with_indices("", branch) assert indices[dlvl] == index
def expect(branch, results): m = Minimap() _, buf = m.unconnected_branch_as_buffer_with_indices("Dungeons of Doom", branch) assert buf == results
def expect(branch, results): m = Minimap() _, buf = m.unconnected_branch_as_buffer_with_indices( "Dungeons of Doom", branch) assert buf == results