def METHOD_NAME():
    """
    Tests that `line_graph` produces correct results.
    """
    # Arrange.
    # Compute the line graph using NX.
    graph = nx.house_graph()
    unordered_line_graph = nx.line_graph(graph)
    # NX puts the nodes in a weird order when making the line graph,
    # so we sort them to maintain consistency with the original graph and the
    # incidence matrix.
    line_graph = nx.Graph()
    line_graph.add_nodes_from(sorted(unordered_line_graph.nodes(data=True)))
    line_graph.add_edges_from(unordered_line_graph.edges(data=True))
    graph_incidence = nx.incidence_matrix(graph).toarray()
    true_line_graph_adj = nx.to_numpy_array(line_graph)
    # Act.
    got_line_graph_adj = convolution.line_graph(graph_incidence).numpy()
    # Assert
    np.testing.assert_array_equal(true_line_graph_adj, got_line_graph_adj)