1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Silence GCC warnings.

llvm-svn: 95779
This commit is contained in:
Benjamin Kramer 2010-02-10 13:34:02 +00:00
parent 59cb3a1ca4
commit 0a0f0f6465
2 changed files with 12 additions and 12 deletions

View File

@ -154,8 +154,8 @@ TEST(BitVectorTest, CompoundAssignment) {
EXPECT_TRUE(A.test(5));
EXPECT_TRUE(A.test(7));
EXPECT_TRUE(A.test(18));
EXPECT_EQ(A.count(), 4);
EXPECT_EQ(A.size(), 50);
EXPECT_EQ(4U, A.count());
EXPECT_EQ(50U, A.size());
B.resize(10);
B.set();
@ -164,8 +164,8 @@ TEST(BitVectorTest, CompoundAssignment) {
A &= B;
EXPECT_FALSE(A.test(2));
EXPECT_FALSE(A.test(7));
EXPECT_EQ(A.size(), 50);
EXPECT_EQ(A.count(), 2);
EXPECT_EQ(2U, A.count());
EXPECT_EQ(50U, A.size());
B.resize(100);
B.set();
@ -173,8 +173,8 @@ TEST(BitVectorTest, CompoundAssignment) {
A ^= B;
EXPECT_TRUE(A.test(2));
EXPECT_TRUE(A.test(7));
EXPECT_EQ(A.size(), 100);
EXPECT_EQ(A.count(), 98);
EXPECT_EQ(98U, A.count());
EXPECT_EQ(100U, A.size());
}
}

View File

@ -153,8 +153,8 @@ TEST(SmallBitVectorTest, CompoundAssignment) {
EXPECT_TRUE(A.test(5));
EXPECT_TRUE(A.test(7));
EXPECT_TRUE(A.test(18));
EXPECT_EQ(A.count(), 4);
EXPECT_EQ(A.size(), 50);
EXPECT_EQ(4U, A.count());
EXPECT_EQ(50U, A.size());
B.resize(10);
B.set();
@ -163,8 +163,8 @@ TEST(SmallBitVectorTest, CompoundAssignment) {
A &= B;
EXPECT_FALSE(A.test(2));
EXPECT_FALSE(A.test(7));
EXPECT_EQ(A.size(), 50);
EXPECT_EQ(A.count(), 2);
EXPECT_EQ(2U, A.count());
EXPECT_EQ(50U, A.size());
B.resize(100);
B.set();
@ -172,8 +172,8 @@ TEST(SmallBitVectorTest, CompoundAssignment) {
A ^= B;
EXPECT_TRUE(A.test(2));
EXPECT_TRUE(A.test(7));
EXPECT_EQ(A.size(), 100);
EXPECT_EQ(A.count(), 98);
EXPECT_EQ(98U, A.count());
EXPECT_EQ(100U, A.size());
}
}