Home
last modified time | relevance | path

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

/system/core/libutils/tests/
DVector_test.cpp133 Vector<int> vector1; in TEST_F() local
134 vector1.add(1); in TEST_F()
135 vector1.add(2); in TEST_F()
136 vector1.add(3); in TEST_F()
137 vector1.add(4); in TEST_F()
139 Vector<int> vector2 = vector1; in TEST_F()
140 ASSERT_EQ(vector1.array(), vector2.array()); in TEST_F()
143 ASSERT_NE(vector1.editArray(), vector2.editArray()); in TEST_F()
146 ASSERT_EQ(vector1.size(), vector2.size()); in TEST_F()
147 for (size_t i = 0; i < vector1.size(); ++i) { in TEST_F()
[all …]