| 26 | namespace gandiva { |
| 27 | |
| 28 | class TestCacheKey { |
| 29 | public: |
| 30 | explicit TestCacheKey(int tmp) : tmp_(tmp) {} |
| 31 | std::size_t Hash() const { return tmp_; } |
| 32 | bool operator==(const TestCacheKey& other) const { return tmp_ == other.tmp_; } |
| 33 | |
| 34 | private: |
| 35 | int tmp_; |
| 36 | }; |
| 37 | |
| 38 | class TestLruCache : public ::testing::Test { |
| 39 | public: |