Lines Matching full:values

37   int Values[] = {0, 1, 2};  in TEST()  local
38 acxxel::Span<int> Span1(Values, arraySize(Values)); in TEST()
39 EXPECT_EQ(Span1.data(), Values); in TEST()
40 EXPECT_EQ(static_cast<size_t>(Span1.size()), arraySize(Values)); in TEST()
42 acxxel::Span<int> Span2(Values, ZeroSize); in TEST()
43 EXPECT_EQ(Span2.data(), Values); in TEST()
48 int Values[] = {0, 1, 2}; in TEST() local
49 EXPECT_DEATH(acxxel::Span<int> Span0(Values, -1), "terminate"); in TEST()
57 int Values[] = {0, 1, 2}; in TEST() local
59 acxxel::Span<int> Span0(Values, Values); in TEST()
60 EXPECT_EQ(Span0.data(), Values); in TEST()
63 acxxel::Span<int> Span(Values, Values + 2); in TEST()
64 EXPECT_EQ(Span.data(), Values); in TEST()
69 int Values[] = {0, 1, 2}; in TEST() local
70 EXPECT_DEATH(acxxel::Span<int> Span(Values + 2, Values), "terminate"); in TEST()
100 int Values[] = {0, 1, 2}; in TEST() local
101 acxxel::Span<int> Span0(Values); in TEST()
103 EXPECT_EQ(Span1.data(), Values); in TEST()
104 EXPECT_EQ(static_cast<size_t>(Span1.size()), arraySize(Values)); in TEST()
108 int Values[] = {0, 1, 2}; in TEST() local
109 acxxel::Span<int> Span0(Values); in TEST()
112 EXPECT_EQ(Span1.data(), Values); in TEST()
113 EXPECT_EQ(static_cast<size_t>(Span1.size()), arraySize(Values)); in TEST()
117 int Values[] = {0, 1, 2}; in TEST() local
118 acxxel::Span<int> Span0(Values); in TEST()
120 EXPECT_EQ(Span1.data(), Values); in TEST()
121 EXPECT_EQ(static_cast<size_t>(Span1.size()), arraySize(Values)); in TEST()
125 int Values[] = {0, 1, 2}; in TEST() local
126 acxxel::Span<int> Span(Values); in TEST()
132 EXPECT_EQ(Span0.data(), Values); in TEST()
133 EXPECT_EQ(Span1.data(), Values); in TEST()
134 EXPECT_EQ(Span2.data(), Values); in TEST()
135 EXPECT_EQ(Span3.data(), Values); in TEST()
145 int Values[] = {0, 1, 2}; in TEST() local
146 acxxel::Span<int> Span(Values); in TEST()
153 int Values[] = {0, 1, 2}; in TEST() local
154 acxxel::Span<int> Span(Values); in TEST()
160 EXPECT_EQ(Span0.data(), Values); in TEST()
161 EXPECT_EQ(Span1.data(), Values + 2); in TEST()
162 EXPECT_EQ(Span2.data(), Values + 1); in TEST()
163 EXPECT_EQ(Span3.data(), Values); in TEST()
173 int Values[] = {0, 1, 2}; in TEST() local
174 acxxel::Span<int> Span(Values); in TEST()
181 int Values[] = {0, 1, 2}; in TEST() local
182 acxxel::Span<int> Span(Values); in TEST()
206 EXPECT_EQ(Span0.data(), Values); in TEST()
207 EXPECT_EQ(Span0e.data(), Values); in TEST()
208 EXPECT_EQ(Span00.data(), Values); in TEST()
209 EXPECT_EQ(Span01.data(), Values); in TEST()
210 EXPECT_EQ(Span02.data(), Values); in TEST()
211 EXPECT_EQ(Span03.data(), Values); in TEST()
213 EXPECT_EQ(Span1.data(), Values + 1); in TEST()
214 EXPECT_EQ(Span1e.data(), Values + 1); in TEST()
215 EXPECT_EQ(Span10.data(), Values + 1); in TEST()
216 EXPECT_EQ(Span11.data(), Values + 1); in TEST()
217 EXPECT_EQ(Span12.data(), Values + 1); in TEST()
219 EXPECT_EQ(Span2.data(), Values + 2); in TEST()
220 EXPECT_EQ(Span2e.data(), Values + 2); in TEST()
221 EXPECT_EQ(Span20.data(), Values + 2); in TEST()
222 EXPECT_EQ(Span21.data(), Values + 2); in TEST()
224 EXPECT_EQ(Span3.data(), Values + 3); in TEST()
225 EXPECT_EQ(Span3e.data(), Values + 3); in TEST()
226 EXPECT_EQ(Span30.data(), Values + 3); in TEST()
253 int Values[] = {0, 1, 2}; in TEST() local
254 acxxel::Span<int> Span(Values); in TEST()
265 int Values[] = {0, 1, 2}; in TEST() local
266 acxxel::Span<int> Span(Values); in TEST()
268 EXPECT_EQ(&Span[0], Values); in TEST()
269 EXPECT_EQ(&Span[1], Values + 1); in TEST()
270 EXPECT_EQ(&Span[2], Values + 2); in TEST()
271 EXPECT_EQ(&Span(0), Values); in TEST()
272 EXPECT_EQ(&Span(1), Values + 1); in TEST()
273 EXPECT_EQ(&Span(2), Values + 2); in TEST()
276 EXPECT_EQ(Values[0], 5); in TEST()
279 EXPECT_EQ(Values[0], 0); in TEST()