Home | History | Annotate | Download | only in base

Lines Matching refs:output

43   std::vector<int> output;
55 std::copy(taref.begin(), taref.end(), std::back_inserter(output));
56 ASSERT_EQ(std::vector<int>({ 8, 7, 5, 1 }), output);
57 output.clear();
59 std::copy(taref.cbegin(), taref.cend(), std::back_inserter(output));
60 ASSERT_EQ(std::vector<int>({ 8, 7, 5, 1 }), output);
61 output.clear();
63 std::copy(taref.rbegin(), taref.rend(), std::back_inserter(output));
64 ASSERT_EQ(std::vector<int>({ 1, 5, 7, 8 }), output);
65 output.clear();
67 std::copy(taref.crbegin(), taref.crend(), std::back_inserter(output));
68 ASSERT_EQ(std::vector<int>({ 1, 5, 7, 8 }), output);
69 output.clear();
84 std::vector<int> output;
95 std::copy(taref.begin(), taref.end(), std::back_inserter(output));
96 ASSERT_EQ(std::vector<int>({ 3, 3, 4, 6, 9 }), output);
97 output.clear();
99 std::copy(taref.rbegin(), taref.rend(), std::back_inserter(output));
100 ASSERT_EQ(std::vector<int>({ 9, 6, 4, 3, 3 }), output);
101 output.clear();
120 std::vector<int> output;
130 std::copy(taref.begin(), taref.end(), std::back_inserter(output));
131 ASSERT_EQ(std::vector<int>({ 1, 0, 1, 0, 3, 1 }), output);
132 output.clear();
134 std::copy(taref.cbegin(), taref.cend(), std::back_inserter(output));
135 ASSERT_EQ(std::vector<int>({ 1, 0, 1, 0, 3, 1 }), output);
136 output.clear();
138 std::copy(taref.rbegin(), taref.rend(), std::back_inserter(output));
139 ASSERT_EQ(std::vector<int>({ 1, 3, 0, 1, 0, 1 }), output);
140 output.clear();
142 std::copy(taref.crbegin(), taref.crend(), std::back_inserter(output));
143 ASSERT_EQ(std::vector<int>({ 1, 3, 0, 1, 0, 1 }), output);
144 output.clear();
174 std::copy(ctaref.begin(), ctaref.end(), std::back_inserter(output));
175 ASSERT_EQ(std::vector<int>({ 1, 0, 1, 0, 3, 1 }), output);
176 output.clear();
178 std::copy(ctaref.cbegin(), ctaref.cend(), std::back_inserter(output));
179 ASSERT_EQ(std::vector<int>({ 1, 0, 1, 0, 3, 1 }), output);
180 output.clear();
182 std::copy(ctaref.rbegin(), ctaref.rend(), std::back_inserter(output));
183 ASSERT_EQ(std::vector<int>({ 1, 3, 0, 1, 0, 1 }), output);
184 output.clear();
186 std::copy(ctaref.crbegin(), ctaref.crend(), std::back_inserter(output));
187 ASSERT_EQ(std::vector<int>({ 1, 3, 0, 1, 0, 1 }), output);
188 output.clear();