#NEWLINE# def test_cycle( self ) : #NEWLINE# #INDENT# C = nx . cycle_graph ( 7 ) #NEWLINE# assert_equal ( nx . astar_path ( C , 0 , 3 ) , [ 0 , 1 , 2 , 3 ] ) #NEWLINE# assert_equal ( nx . dijkstra_path ( C , 0 , 4 ) , [ 0 , 6 , 5 , 4 ] )