Home
last modified time | relevance | path

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

/system/chre/util/tests/
Dheap_test.cc29 std::array<int, MaxSize> array_sorted; in TEST() local
33 array_sorted[i] = array[i]; in TEST()
43 std::sort(array_sorted.begin(), array_sorted.begin() + s, std::greater<int>()); in TEST()
47 EXPECT_EQ(array_sorted[i], v[v.size() - 1]); in TEST()
69 std::array<int, MaxSize> array_sorted; in TEST() local
73 array_sorted[i] = array[i]; in TEST()
82 std::sort(array_sorted.begin(), array_sorted.begin() + s, std::greater<int>()); in TEST()
90 if (array_sorted[i] == data) { in TEST()
95 EXPECT_EQ(array_sorted[i], v[v.size() - 1]); in TEST()