Ejemplo n.º 1
0
def test_ranking_networks_nodes_from_simple_ranking_graph():
    rg = simple_graph()

    test = RankingNetwork()
    test.build_from_ranking_graph(rg)
    assert (test.nodes_names() == ["a", "b", "c"])
Ejemplo n.º 2
0
def test_ranking_network_build_from_simple_ranking_graph():
    rg = simple_graph()

    test = RankingNetwork()
    test.build_from_ranking_graph(rg)