This commit is contained in:
parent
0a63f56869
commit
bc5bb8f92e
|
@ -1,10 +0,0 @@
|
|||
require 'test/unit'
|
||||
require 'igraph'
|
||||
|
||||
class TestGraph < Test::Unit::TestCase
|
||||
def test_adj
|
||||
graph = IGraph.new(['A','B','C','D'],true)
|
||||
assert_equal ['B'], graph.adjacent_vertices('A',IGraph::ALL)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue