mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
Silence GCC warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95779 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
af61681ced
commit
c9e31cc823
@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user