X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=spec%2Fgraph%2Fgraph_spec.rb;h=be6a7b5a332bc03dbde25cfebc751f83e1f8dcd1;hb=2f72fc8e85b5c9c8bdcf622dc3b512a3dee5060c;hp=670d252892cbf0a3d1f6bbc09f0a04915ed61d63;hpb=369a49ecb7cf80a1d93d7bacc0ef419320295ca1;p=graph.njae.git diff --git a/spec/graph/graph_spec.rb b/spec/graph/graph_spec.rb index 670d252..be6a7b5 100644 --- a/spec/graph/graph_spec.rb +++ b/spec/graph/graph_spec.rb @@ -30,7 +30,7 @@ module GraphNjae describe "adds attribues" do it "adds then reports arbitrary attributes" do g.score = 15 - g.score == 15 + g.score.should == 15 end end # adds attributes @@ -127,8 +127,22 @@ module GraphNjae pg.should have(4).vertices pg.should have(2).edges end + + it "finds a product graph of not-quite-simple graph" do + end end + describe "similarity flood" do + it "similarity floods a graph of two nodes" do + end + + it "similarity floods a graph of three nodes, a -- b -- c" do + end + + it "simialrity floods a sample graph" do + end + end + end end