Home
last modified time | relevance | path

Searched refs:kNumPositions (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/sync/internal_api/public/base/
Dunique_position_unittest.cc171 static const size_t kNumPositions = arraysize(kPositionArray); variable
209 ASSERT_EQ(kNumPositions, kNumSortedPositions); in TEST_F()
211 for (size_t i = 0; i < kNumPositions; ++i) { in TEST_F()
215 std::sort(&positions[0], &positions[kNumPositions], PositionLessThan()); in TEST_F()
216 for (size_t i = 0; i < kNumPositions; ++i) { in TEST_F()
227 ASSERT_EQ(kNumPositions, kNumSortedPositions); in TEST_F()
229 for (size_t i = 0; i < kNumPositions; ++i) { in TEST_F()
233 std::reverse(&positions[0], &positions[kNumPositions]); in TEST_F()
234 std::sort(&positions[0], &positions[kNumPositions], PositionLessThan()); in TEST_F()
235 for (size_t i = 0; i < kNumPositions; ++i) { in TEST_F()