43 #include <gtest/gtest.h> 48 TEST(AddrRangeMapTest, LegacyTests)
54 ASSERT_NE(i, r.
end());
57 ASSERT_NE(i, r.
end());
67 ASSERT_NE(i, r.
end());
iterator insert(const AddrRange &r, const V &d)
const_iterator contains(const AddrRange &r) const
Find entry that contains the given address range.
RangeMap::const_iterator const_iterator
const_iterator end() const
The AddrRangeMap uses an STL map to implement an interval tree for address decoding.
AddrRange RangeIn(Addr start, Addr end)
const_iterator intersects(const AddrRange &r) const
Find entry that intersects with the given address range.
TEST(AddrRangeMapTest, LegacyTests)
#define EXPECT_EQ(lhs, rhs)
A macro which verifies that lhs and rhs are equal to each other.