tests/TestComponents.rb in rgl-0.2.3 vs tests/TestComponents.rb in rgl-0.3.0
- old
+ new
@@ -1,12 +1,10 @@
require 'test/unit'
+require 'rgl/traversal'
require 'rgl/connected_components'
require 'rgl/adjacency'
-
-class Array
- alias add push
-end
+require 'test_helper'
include RGL
def graph_from_string(s)
g = DirectedAdjacencyGraph.new(Array)