Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed the test for size of graph

  • Loading branch information...
commit 76209e6c099b9aa18d91f63dfea527d5adec5685 1 parent 5ad27f5
Prathamesh Sonpatki authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/ir/directed_graph/directed_graph_spec.rb
View
4 spec/ir/directed_graph/directed_graph_spec.rb
@@ -56,9 +56,9 @@
it "should give correct size of graph" do
@graph.removeEdge(1,2)
- @graph.size.should == 4 # Passes ?
+ @graph.size.should == 4
@graph.addEdge(5,6,'simple')
- @graph.size.should == 4 # Fails; Because size of graph is actually number of vertices according to implementation
+ @graph.size.should == 6
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.