reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/ADT/DirectedGraphTest.cpp
  100   EXPECT_TRUE(DG.addNode(N1));
  101   EXPECT_TRUE(DG.addNode(N2));
  102   EXPECT_TRUE(DG.addNode(N3));
  105   EXPECT_FALSE(DG.addNode(N1));
  108   EXPECT_TRUE(DG.connect(N1, N2, E2));
  109   EXPECT_TRUE(DG.connect(N2, N3, E3));
  110   EXPECT_TRUE(DG.connect(N3, N1, E1));
  120   EXPECT_FALSE(DG.connect(N3, N1, E1));
  123   EXPECT_TRUE(DG.size() == 3);
  126   EXPECT_NE(DG.findNode(N3), DG.end());
  126   EXPECT_NE(DG.findNode(N3), DG.end());
  130   EXPECT_EQ(DG.findNode(N4), DG.end());
  130   EXPECT_EQ(DG.findNode(N4), DG.end());
  134   EXPECT_TRUE(DG.findIncomingEdgesToNode(N1, EL));