def test_find_shortest_path():
    load_demand = False
    network = pg.read_network(load_demand)
    print(('\nshortest path (node id) from node 1 to node 2, ' + network.find_shortest_path(1, 2)))
    print(('\nshortest path (link id) from node 1 to node 2, ' + network.find_shortest_path(1, 2, seq_type='link')))
    print(('\nshortest path (node id) from node 1 to node 2, ' + network.find_shortest_path(1, 2, mode='w')))
    print(('\nshortest path (link id) from node 1 to node 2, ' + network.find_shortest_path(1, 2, mode='w', seq_type='link')))
def test_find_shortest_path():
    load_demand = False
    network = pg.read_network(load_demand)
    print(('\nshortest path (node id) from node 1 to node 2, ' + network.find_shortest_path(1, 2)))
    print(('\nshortest path (link id) from node 1 to node 2, ' + network.find_shortest_path(1, 2, seq_type='link')))
    print(('\nshortest path (node id) from node 1 to node 2, ' + network.find_shortest_path(1, 2, mode='w')))
    print(('\nshortest path (link id) from node 1 to node 2, ' + network.find_shortest_path(1, 2, mode='w', seq_type='link')))