Lines Matching refs:randomAccess
262 RARange randomAccess; in testSubscript() local
263 assert(randomAccess[2] == 2); in testSubscript()
264 assert(static_cast<RARange const&>(randomAccess)[2] == 2); in testSubscript()
265 randomAccess[2] = 3; in testSubscript()
266 assert(randomAccess[2] == 3); in testSubscript()
289 RARange randomAccess; in testFrontBack() local
290 assert(randomAccess.front() == 0); in testFrontBack()
291 assert(static_cast<RARange const&>(randomAccess).front() == 0); in testFrontBack()
292 randomAccess.front() = 2; in testFrontBack()
293 assert(randomAccess.front() == 2); in testFrontBack()
295 assert(randomAccess.back() == 7); in testFrontBack()
296 assert(static_cast<RARange const&>(randomAccess).back() == 7); in testFrontBack()
297 randomAccess.back() = 2; in testFrontBack()
298 assert(randomAccess.back() == 2); in testFrontBack()