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

References

unittests/ADT/IListTest.cpp
   25   ~Node() { Value = -1; }
   31   EXPECT_EQ(1, List.back().Value);
   36   EXPECT_EQ(2, List.back().Value);
   37   EXPECT_EQ(2, List.getNextNode(List.front())->Value);
   38   EXPECT_EQ(1, List.getPrevNode(List.back())->Value);
   41   EXPECT_EQ(2, ConstList.back().Value);
   42   EXPECT_EQ(2, ConstList.getNextNode(ConstList.front())->Value);
   43   EXPECT_EQ(1, ConstList.getPrevNode(ConstList.back())->Value);
   56   L2.cloneFrom(L1, [&](const Node &N) { return &L2Nodes[N.Value]; });
   69   EXPECT_EQ(0, L3.front().Value);
   70   EXPECT_EQ(1, L3.back().Value);
   84   EXPECT_EQ(1, List.front().Value);
   92   EXPECT_EQ(1, List.front().Value);
   93   EXPECT_EQ(2, std::next(List.begin())->Value);
   94   EXPECT_EQ(3, List.back().Value);
  103   EXPECT_EQ(0, L.front().Value);
  104   EXPECT_EQ(1, L.back().Value);
  107   EXPECT_EQ(1, L.front().Value);
  108   EXPECT_EQ(0, L.back().Value);
  119   EXPECT_EQ(0, L.front().Value);
  120   EXPECT_EQ(1, L.back().Value);
  123   EXPECT_EQ(1, L.front().Value);
  124   EXPECT_EQ(0, L.back().Value);
  147   EXPECT_EQ(1, N->Value);
  150   ASSERT_EQ(1, N->Value);
  157   EXPECT_EQ(5, List.front().Value);
  158   EXPECT_EQ(6, List.back().Value);