Lines Matching refs:zassert_equal

42 	zassert_equal(r[0].min, -10);  in ZTEST()
43 zassert_equal(r[0].step, 5U); in ZTEST()
44 zassert_equal(r[0].min_idx, 0U); in ZTEST()
45 zassert_equal(r[0].max_idx, 1U); in ZTEST()
50 zassert_equal(linear_range_values_count(&r[0]), 2U); in ZTEST()
51 zassert_equal(linear_range_values_count(&r[1]), 2U); in ZTEST()
52 zassert_equal(linear_range_values_count(&r[2]), 7U); in ZTEST()
53 zassert_equal(linear_range_values_count(&r[3]), 2U); in ZTEST()
55 zassert_equal(linear_range_group_values_count(r, r_cnt), 13U); in ZTEST()
60 zassert_equal(linear_range_get_max_value(&r[0]), -5); in ZTEST()
61 zassert_equal(linear_range_get_max_value(&r[1]), 1); in ZTEST()
62 zassert_equal(linear_range_get_max_value(&r[2]), 280); in ZTEST()
63 zassert_equal(linear_range_get_max_value(&r[3]), 400); in ZTEST()
72 zassert_equal(ret, 0); in ZTEST()
73 zassert_equal(val, -10); in ZTEST()
76 zassert_equal(ret, 0); in ZTEST()
77 zassert_equal(val, -5); in ZTEST()
80 zassert_equal(ret, 0); in ZTEST()
81 zassert_equal(val, 0); in ZTEST()
84 zassert_equal(ret, 0); in ZTEST()
85 zassert_equal(val, 1); in ZTEST()
88 zassert_equal(ret, 0); in ZTEST()
89 zassert_equal(val, 100); in ZTEST()
92 zassert_equal(ret, 0); in ZTEST()
93 zassert_equal(val, 130); in ZTEST()
96 zassert_equal(ret, 0); in ZTEST()
97 zassert_equal(val, 160); in ZTEST()
100 zassert_equal(ret, 0); in ZTEST()
101 zassert_equal(val, 190); in ZTEST()
104 zassert_equal(ret, 0); in ZTEST()
105 zassert_equal(val, 220); in ZTEST()
108 zassert_equal(ret, 0); in ZTEST()
109 zassert_equal(val, 250); in ZTEST()
112 zassert_equal(ret, 0); in ZTEST()
113 zassert_equal(val, 280); in ZTEST()
116 zassert_equal(ret, 0); in ZTEST()
117 zassert_equal(val, 400); in ZTEST()
120 zassert_equal(ret, 0); in ZTEST()
121 zassert_equal(val, 400); in ZTEST()
124 zassert_equal(ret, -EINVAL); in ZTEST()
127 zassert_equal(ret, 0); in ZTEST()
128 zassert_equal(val, -10); in ZTEST()
131 zassert_equal(ret, 0); in ZTEST()
132 zassert_equal(val, -5); in ZTEST()
135 zassert_equal(ret, 0); in ZTEST()
136 zassert_equal(val, 0); in ZTEST()
139 zassert_equal(ret, 0); in ZTEST()
140 zassert_equal(val, 1); in ZTEST()
143 zassert_equal(ret, 0); in ZTEST()
144 zassert_equal(val, 100); in ZTEST()
147 zassert_equal(ret, 0); in ZTEST()
148 zassert_equal(val, 130); in ZTEST()
151 zassert_equal(ret, 0); in ZTEST()
152 zassert_equal(val, 160); in ZTEST()
155 zassert_equal(ret, 0); in ZTEST()
156 zassert_equal(val, 190); in ZTEST()
159 zassert_equal(ret, 0); in ZTEST()
160 zassert_equal(val, 220); in ZTEST()
163 zassert_equal(ret, 0); in ZTEST()
164 zassert_equal(val, 250); in ZTEST()
167 zassert_equal(ret, 0); in ZTEST()
168 zassert_equal(val, 280); in ZTEST()
171 zassert_equal(ret, 0); in ZTEST()
172 zassert_equal(val, 400); in ZTEST()
175 zassert_equal(ret, 0); in ZTEST()
176 zassert_equal(val, 400); in ZTEST()
186 zassert_equal(ret, 0); in ZTEST()
187 zassert_equal(idx, 0U); in ZTEST()
190 zassert_equal(ret, 0); in ZTEST()
191 zassert_equal(idx, 1U); in ZTEST()
195 zassert_equal(ret, -ERANGE); in ZTEST()
196 zassert_equal(idx, 2U); in ZTEST()
199 zassert_equal(ret, -ERANGE); in ZTEST()
200 zassert_equal(idx, 3U); in ZTEST()
204 zassert_equal(ret, 0); in ZTEST()
205 zassert_equal(idx, 4U); in ZTEST()
208 zassert_equal(ret, 0); in ZTEST()
209 zassert_equal(idx, 10U); in ZTEST()
213 zassert_equal(ret, 0); in ZTEST()
214 zassert_equal(idx, 5U); in ZTEST()
218 zassert_equal(ret, 0); in ZTEST()
219 zassert_equal(idx, 11U); in ZTEST()
223 zassert_equal(ret, -ERANGE); in ZTEST()
224 zassert_equal(idx, 0U); in ZTEST()
227 zassert_equal(ret, 0); in ZTEST()
228 zassert_equal(idx, 1U); in ZTEST()
231 zassert_equal(ret, 0); in ZTEST()
232 zassert_equal(idx, 2U); in ZTEST()
235 zassert_equal(ret, -ERANGE); in ZTEST()
236 zassert_equal(idx, 4U); in ZTEST()
239 zassert_equal(ret, 0); in ZTEST()
240 zassert_equal(idx, 8U); in ZTEST()
243 zassert_equal(ret, 0); in ZTEST()
244 zassert_equal(idx, 11U); in ZTEST()
254 zassert_equal(ret, 0); in ZTEST()
255 zassert_equal(idx, 0U); in ZTEST()
258 zassert_equal(ret, 0); in ZTEST()
259 zassert_equal(idx, 1U); in ZTEST()
263 zassert_equal(ret, -EINVAL); in ZTEST()
266 zassert_equal(ret, -EINVAL); in ZTEST()
270 zassert_equal(ret, -ERANGE); in ZTEST()
271 zassert_equal(idx, 2U); in ZTEST()
274 zassert_equal(ret, -ERANGE); in ZTEST()
275 zassert_equal(idx, 3U); in ZTEST()
279 zassert_equal(ret, 0); in ZTEST()
280 zassert_equal(idx, 4U); in ZTEST()
284 zassert_equal(ret, 0); in ZTEST()
285 zassert_equal(idx, 4U); in ZTEST()
289 zassert_equal(ret, 0); in ZTEST()
290 zassert_equal(idx, 5U); in ZTEST()
294 zassert_equal(ret, -EINVAL); in ZTEST()
297 zassert_equal(ret, -EINVAL); in ZTEST()
301 zassert_equal(ret, 0); in ZTEST()
302 zassert_equal(idx, 11U); in ZTEST()
306 zassert_equal(ret, 0); in ZTEST()
307 zassert_equal(idx, 0U); in ZTEST()
310 zassert_equal(ret, 0); in ZTEST()
311 zassert_equal(idx, 2U); in ZTEST()
314 zassert_equal(ret, -ERANGE); in ZTEST()
315 zassert_equal(idx, 3U); in ZTEST()
318 zassert_equal(ret, 0); in ZTEST()
319 zassert_equal(idx, 5U); in ZTEST()
322 zassert_equal(ret, -ERANGE); in ZTEST()
323 zassert_equal(idx, 10U); in ZTEST()
326 zassert_equal(ret, 0); in ZTEST()
327 zassert_equal(idx, 11U); in ZTEST()
330 zassert_equal(ret, -EINVAL); in ZTEST()