Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/tests/utils/
Dint_array_view_test.cpp157 const auto intArrayViews = IntArrayView().split(0, 1); in TEST() local
158 EXPECT_EQ(1u, intArrayViews.size()); in TEST()
159 EXPECT_TRUE(intArrayViews[0].empty()); in TEST()
162 const auto intArrayViews = IntArrayView().split(0, 100); in TEST() local
163 EXPECT_EQ(1u, intArrayViews.size()); in TEST()
164 EXPECT_TRUE(intArrayViews[0].empty()); in TEST()
170 const auto intArrayViews = intArrayView.split(2); in TEST() local
171 EXPECT_EQ(3u, intArrayViews.size()); in TEST()
172 EXPECT_EQ(std::vector<int>({1}), intArrayViews[0].toVector()); in TEST()
173 EXPECT_EQ(std::vector<int>({3, 3}), intArrayViews[1].toVector()); in TEST()
[all …]