'Tests that a narrow beam width may cause an incomplete search.'

def test_narrow(self):

    G = nx.cycle_graph(4)
    edges = nx.bfs_beam_edges(G, 0, identity, width=1)
    assert_equal(list(edges), [(0, 3), (3, 2)])
