File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3644,7 +3644,7 @@ public IEnumerable<T> GetNeighbors(T vertex)
36443644 /// </summary>
36453645 /// <param name="vertex"></param>
36463646 /// <returns></returns>
3647- public int GetNumNeighbors ( T vertex )
3647+ public int GetOutDegree ( T vertex )
36483648 {
36493649 ValidateVertexArgument ( vertex ) ;
36503650 return graph [ GetIndex ( vertex ) ] . Count ;
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Describe "Test Directed Graph" {
1818 }
1919
2020 It " correctly adds the edges" {
21- $digraph.GetNumNeighbors (' v1' ) | Should Be 2
21+ $digraph.GetOutDegree (' v1' ) | Should Be 2
2222 $neighbors = $digraph.GetNeighbors (' v1' )
2323 $neighbors -contains ' v2' | Should Be $true
2424 $neighbors -contains ' v5' | Should Be $true
You can’t perform that action at this time.
0 commit comments