llvm.org GIT mirror llvm / c9e31cc
Silence GCC warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95779 91177308-0d34-0410-b5e6-96231b3b80d8 Benjamin Kramer 9 years ago
2 changed file(s) with 12 addition(s) and 12 deletion(s). Raw diff Collapse all Expand all
153153 EXPECT_TRUE(A.test(5));
154154 EXPECT_TRUE(A.test(7));
155155 EXPECT_TRUE(A.test(18));
156 EXPECT_EQ(A.count(), 4);
157 EXPECT_EQ(A.size(), 50);
156 EXPECT_EQ(4U, A.count());
157 EXPECT_EQ(50U, A.size());
158158
159159 B.resize(10);
160160 B.set();
163163 A &= B;
164164 EXPECT_FALSE(A.test(2));
165165 EXPECT_FALSE(A.test(7));
166 EXPECT_EQ(A.size(), 50);
167 EXPECT_EQ(A.count(), 2);
166 EXPECT_EQ(2U, A.count());
167 EXPECT_EQ(50U, A.size());
168168
169169 B.resize(100);
170170 B.set();
172172 A ^= B;
173173 EXPECT_TRUE(A.test(2));
174174 EXPECT_TRUE(A.test(7));
175 EXPECT_EQ(A.size(), 100);
176 EXPECT_EQ(A.count(), 98);
175 EXPECT_EQ(98U, A.count());
176 EXPECT_EQ(100U, A.size());
177177 }
178178
179179 }
152152 EXPECT_TRUE(A.test(5));
153153 EXPECT_TRUE(A.test(7));
154154 EXPECT_TRUE(A.test(18));
155 EXPECT_EQ(A.count(), 4);
156 EXPECT_EQ(A.size(), 50);
155 EXPECT_EQ(4U, A.count());
156 EXPECT_EQ(50U, A.size());
157157
158158 B.resize(10);
159159 B.set();
162162 A &= B;
163163 EXPECT_FALSE(A.test(2));
164164 EXPECT_FALSE(A.test(7));
165 EXPECT_EQ(A.size(), 50);
166 EXPECT_EQ(A.count(), 2);
165 EXPECT_EQ(2U, A.count());
166 EXPECT_EQ(50U, A.size());
167167
168168 B.resize(100);
169169 B.set();
171171 A ^= B;
172172 EXPECT_TRUE(A.test(2));
173173 EXPECT_TRUE(A.test(7));
174 EXPECT_EQ(A.size(), 100);
175 EXPECT_EQ(A.count(), 98);
174 EXPECT_EQ(98U, A.count());
175 EXPECT_EQ(100U, A.size());
176176 }
177177
178178 }