mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 23:31:37 +00:00
Use non-bool values for .count.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108048 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2b336bc4fe
commit
3732396fe1
@ -100,10 +100,10 @@ TYPED_TEST(ValueMapTest, OperationsWork) {
|
||||
|
||||
// Erase:
|
||||
VM.erase(InsertResult2.first);
|
||||
EXPECT_EQ(false, VM.count(this->AddV.get()));
|
||||
EXPECT_EQ(true, VM.count(this->BitcastV.get()));
|
||||
EXPECT_EQ(0U, VM.count(this->AddV.get()));
|
||||
EXPECT_EQ(1U, VM.count(this->BitcastV.get()));
|
||||
VM.erase(this->BitcastV.get());
|
||||
EXPECT_EQ(false, VM.count(this->BitcastV.get()));
|
||||
EXPECT_EQ(0U, VM.count(this->BitcastV.get()));
|
||||
EXPECT_EQ(0U, VM.size());
|
||||
|
||||
// Range insert:
|
||||
|
Loading…
x
Reference in New Issue
Block a user