Lines Matching refs:S2
55 ImmutableSet<int> S2 = f.add(S, 3);
57 EXPECT_FALSE(S2.isEmpty());
58 EXPECT_FALSE(S == S2);
59 EXPECT_TRUE(S != S2);
61 EXPECT_TRUE(S2.contains(3));
62 EXPECT_FALSE(S2.begin() == S2.end());
63 EXPECT_TRUE(S2.begin() != S2.end());
73 EXPECT_FALSE(S2 == S3);
74 EXPECT_TRUE(S2 != S3);
75 EXPECT_FALSE(S2.contains(2));
83 ImmutableSet<int> S2 = f.add(f.add(f.add(S, 3), 4), 5);
84 ImmutableSet<int> S3 = f.add(f.add(f.add(S2, 9), 20), 43);
85 ImmutableSet<int> S4 = f.add(S2, 9);
88 EXPECT_FALSE(S2.isEmpty());
95 EXPECT_TRUE(S2.contains(3));
96 EXPECT_TRUE(S2.contains(4));
97 EXPECT_TRUE(S2.contains(5));
98 EXPECT_FALSE(S2.contains(9));
99 EXPECT_FALSE(S2.contains(0));
121 ImmutableSet<int> S2 = f.add(f.add(S, 4), 5);
122 ImmutableSet<int> S3 = f.add(S2, 3);
126 EXPECT_FALSE(S2.contains(3));
129 EXPECT_TRUE(S2 == S4);
130 EXPECT_TRUE(S3 != S2);
144 ImmutableSet<char> S2 = f.add(f.add(f.add(S, 'a'), 'e'), 'i');
145 ImmutableSet<char> S3 = f.add(f.add(S2, 'o'), 'u');
156 ImmutableSet<char> S2 = f.add(f.add(f.add(S, 'b'), 'c'), 'd');
157 ImmutableSet<char> S3 = f.add(f.add(f.add(S2, 'f'), 'g'), 'h');
165 S2.foreach<MyIter>(obj2);
179 ImmutableSet<long> S2 = f.add(f.add(f.add(S, 0), 1), 2);
180 ImmutableSet<long> S3 = f.add(f.add(f.add(S2, 3), 4), 5);
189 for (ImmutableSet<long>::iterator I = S2.begin(), E = S2.end(); I != E; ++I) {