commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1138086 - /commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/visit/VisitTestCase.java
Date Tue, 21 Jun 2011 16:51:16 GMT
Author: simonetripodi
Date: Tue Jun 21 16:51:16 2011
New Revision: 1138086

URL: http://svn.apache.org/viewvc?rev=1138086&view=rev
Log:
modified graph according to picture, LinkedHashSet in the in-memory representation fixed the
visit

Modified:
    commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/visit/VisitTestCase.java

Modified: commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/visit/VisitTestCase.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/visit/VisitTestCase.java?rev=1138086&r1=1138085&r2=1138086&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/visit/VisitTestCase.java
(original)
+++ commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/visit/VisitTestCase.java
Tue Jun 21 16:51:16 2011
@@ -151,8 +151,8 @@ public final class VisitTestCase
         input.addEdge( new BaseLabeledEdge( "", b, e ) );
         input.addEdge( new BaseLabeledEdge( "", b, f ) );
 
-        input.addEdge( new BaseLabeledEdge( "", e, g ) );
         input.addEdge( new BaseLabeledEdge( "", e, h ) );
+        input.addEdge( new BaseLabeledEdge( "", e, g ) );
 
         // expected node set
 
@@ -160,10 +160,10 @@ public final class VisitTestCase
         final List<BaseLabeledVertex> expected = new ArrayList<BaseLabeledVertex>();
         expected.add( s );
         expected.add( b );
+        expected.add( f );
         expected.add( e );
-        expected.add( h );
         expected.add( g );
-        expected.add( f );
+        expected.add( h );
         expected.add( a );
         expected.add( d );
         expected.add( c );



Mime
View raw message