89{
91
93
94 REQUIRE(cache.PerformLookup(info, 0, 0).empty());
95 REQUIRE(!cache.PerformLookup(info, 0, 1).empty());
96
97 REQUIRE(cache.PerformLookup(info, 0, 1).first->LastCacheAccess == 2);
98
105
107
108 for (int i = 0; i < 128; ++i)
109 {
110 const double t0 = i;
111 const double t1 = t0 + 2;
112
113 const int64_t itemsCount = 1 +
116
118 }
119}
static constexpr uint32_t CacheElementWidth
static double GetDefaultZoom()
void CheckCacheElementLookup(GraphicsDataCache< CacheElement > &cache, const ZoomInfo &zoomInfo, double t0, double t1, size_t count)