l0.connections.find {|c| c.end == b0}.blob.should be :closed
l0.connections.find {|c| c.end == b0}.crowsfoot.should be :yes
l0.connections.find {|c| c.end == b2}.blob.should be :closed
l0.connections.find {|c| c.end == b2}.crowsfoot.should be :no
l1 = erd.edges.find {|e| e.id == 1}
l0.connections.find {|c| c.end == b0}.blob.should be :closed
l0.connections.find {|c| c.end == b0}.crowsfoot.should be :yes
l0.connections.find {|c| c.end == b2}.blob.should be :closed
l0.connections.find {|c| c.end == b2}.crowsfoot.should be :no
l1 = erd.edges.find {|e| e.id == 1}
l1.connections.find {|c| c.end == b0}.blob.should be :open
l1.connections.find {|c| c.end == b0}.crowsfoot.should be :yes
l1.connections.find {|c| c.end == b1}.blob.should be :closed
l1.connections.find {|c| c.end == b1}.crowsfoot.should be :no
l2 = erd.edges.find {|e| e.id == 2}
l1.connections.find {|c| c.end == b0}.blob.should be :open
l1.connections.find {|c| c.end == b0}.crowsfoot.should be :yes
l1.connections.find {|c| c.end == b1}.blob.should be :closed
l1.connections.find {|c| c.end == b1}.crowsfoot.should be :no
l2 = erd.edges.find {|e| e.id == 2}
l2.connections.find {|c| c.end == b1}.blob.should be :closed
l2.connections.find {|c| c.end == b1}.crowsfoot.should be :no
l2.connections.find {|c| c.end == b3}.blob.should be :closed
l2.connections.find {|c| c.end == b3}.crowsfoot.should be :yes
l3 = erd.edges.find {|e| e.id == 3}
l2.connections.find {|c| c.end == b1}.blob.should be :closed
l2.connections.find {|c| c.end == b1}.crowsfoot.should be :no
l2.connections.find {|c| c.end == b3}.blob.should be :closed
l2.connections.find {|c| c.end == b3}.crowsfoot.should be :yes
l3 = erd.edges.find {|e| e.id == 3}
l3.connections.find {|c| c.end == b2}.blob.should be :open
l3.connections.find {|c| c.end == b2}.crowsfoot.should be :no
l3.connections.find {|c| c.end == b3}.blob.should be :closed
l3.connections.find {|c| c.end == b3}.crowsfoot.should be :yes
l4 = erd.edges.find {|e| e.id == 4}
l3.connections.find {|c| c.end == b2}.blob.should be :open
l3.connections.find {|c| c.end == b2}.crowsfoot.should be :no
l3.connections.find {|c| c.end == b3}.blob.should be :closed
l3.connections.find {|c| c.end == b3}.crowsfoot.should be :yes
l4 = erd.edges.find {|e| e.id == 4}
l4.connections.find {|c| c.end == b3}.blob.should be :closed
l4.connections.find {|c| c.end == b3}.crowsfoot.should be :yes
l4.connections.find {|c| c.end == b4}.blob.should be :closed
l4.connections.find {|c| c.end == b4}.crowsfoot.should be :no
l5 = erd.edges.find {|e| e.id == 5}
l4.connections.find {|c| c.end == b3}.blob.should be :closed
l4.connections.find {|c| c.end == b3}.crowsfoot.should be :yes
l4.connections.find {|c| c.end == b4}.blob.should be :closed
l4.connections.find {|c| c.end == b4}.crowsfoot.should be :no
l5 = erd.edges.find {|e| e.id == 5}
l5.connections.find {|c| c.crowsfoot == :yes}.blob.should be :open
l5.connections.find {|c| c.crowsfoot == :no}.blob.should be :open
l5.connections.find {|c| c.crowsfoot == :yes}.end.should be b2
l5.connections.find {|c| c.crowsfoot == :yes}.blob.should be :open
l5.connections.find {|c| c.crowsfoot == :no}.blob.should be :open
l5.connections.find {|c| c.crowsfoot == :yes}.end.should be b2