reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
130 ImmutableList<Wrapper<int>> L3 = f.add(43, f.add(20, f.add(9, L2))); 131 ImmutableList<Wrapper<int>> L4 = f.add(9, L2); 132 ImmutableList<Wrapper<int>> L5 = f.add(9, L2); 135 EXPECT_FALSE(L2.isEmpty()); 142 EXPECT_TRUE(L2.contains(3)); 143 EXPECT_TRUE(L2.contains(4)); 144 EXPECT_TRUE(L2.contains(5)); 145 EXPECT_FALSE(L2.contains(9)); 146 EXPECT_FALSE(L2.contains(0)); 148 EXPECT_EQ(5, L2.getHead()); 149 EXPECT_EQ(4, L2.getTail().getHead()); 150 EXPECT_EQ(3, L2.getTail().getTail().getHead()); 164 EXPECT_TRUE(L3.getTail().getTail().getTail() == L2); 165 EXPECT_TRUE(L2 == L3.getTail().getTail().getTail()); 166 EXPECT_TRUE(L3.getTail().getTail().getTail().isEqual(L2)); 167 EXPECT_TRUE(L2.isEqual(L3.getTail().getTail().getTail()));