tests/TestUnDirectedGraph.rb in rgl-0.2.2 vs tests/TestUnDirectedGraph.rb in rgl-0.2.3
- old
+ new
@@ -93,6 +93,10 @@
assert_equal dg.vertices.sort, [2,4]
dg.remove_vertices 1,3,Object # ones again
assert_equal dg.vertices.sort, [2,4]
end
+
+ def test_reverse
+ assert_equal(@dg, @dg.reverse)
+ end
end