You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/06/22 01:53:15 UTC
svn commit: r1138253 -
/commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/shortestpath/DijkstraTestCase.java
Author: simonetripodi
Date: Tue Jun 21 23:53:14 2011
New Revision: 1138253
URL: http://svn.apache.org/viewvc?rev=1138253&view=rev
Log:
added missing source Vertex in the expected path vertices list
Modified:
commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/shortestpath/DijkstraTestCase.java
Modified: commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/shortestpath/DijkstraTestCase.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/shortestpath/DijkstraTestCase.java?rev=1138253&r1=1138252&r2=1138253&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/shortestpath/DijkstraTestCase.java (original)
+++ commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/shortestpath/DijkstraTestCase.java Tue Jun 21 23:53:14 2011
@@ -76,6 +76,7 @@ public final class DijkstraTestCase
InMemoryWeightedPath<BaseLabeledVertex, BaseLabeledWeightedEdge> expected =
new InMemoryWeightedPath<BaseLabeledVertex, BaseLabeledWeightedEdge>( one, five );
+ expected.addVertexInTail( one );
expected.addVertexInTail( three );
expected.addVertexInTail( six );
expected.addVertexInTail( five );