Lines Matching refs:zassert_true

48 	zassert_true(fpu_is_dirty());  in ZTEST()
51 zassert_true(k_float_disable(k_current_get()) == 0); in ZTEST()
52 zassert_true(fpu_is_off()); in ZTEST()
58 zassert_true(fpu_is_clean()); in ZTEST()
61 zassert_true(val == 42, "got %d instead", val); in ZTEST()
73 zassert_true(fpu_is_off(), "FPU not off when starting thread %s", name); in new_thread_check()
90 zassert_true(fpu_is_clean(), "FPU not clean after read"); in new_thread_check()
93 zassert_true(val == 0, "got %d instead", val); in new_thread_check()
115 zassert_true(fpu_is_clean()); in thread1_entry()
117 zassert_true(fpu_is_clean()); in thread1_entry()
126 zassert_true(fpu_is_off()); in thread1_entry()
133 zassert_true(fpu_is_off()); in thread1_entry()
141 zassert_true(fpu_is_dirty()); in thread1_entry()
144 zassert_true(fpu_is_dirty()); in thread1_entry()
154 zassert_true(fpu_is_clean()); in thread1_entry()
164 zassert_true(val == 42, "got %d instead", val); in thread1_entry()
165 zassert_true(fpu_is_clean()); in thread1_entry()
168 zassert_true(fpu_is_off()); in thread1_entry()
198 zassert_true(fpu_is_clean()); in thread2_entry()
205 zassert_true(fpu_is_off()); in thread2_entry()
212 zassert_true(fpu_is_off()); in thread2_entry()
214 zassert_true(fpu_is_dirty()); in thread2_entry()
222 zassert_true(fpu_is_clean()); in thread2_entry()
224 zassert_true(val == 37, "got %d instead", val); in thread2_entry()
225 zassert_true(fpu_is_clean()); in thread2_entry()
234 zassert_true(fpu_is_clean()); in thread2_entry()
236 zassert_true(val == 37, "got %d instead", val); in thread2_entry()
247 zassert_true(k_thread_join(&thread1, K_FOREVER) == 0); in ZTEST()
248 zassert_true(k_thread_join(&thread2, K_FOREVER) == 0); in ZTEST()
266 zassert_true(fpu_is_off()); in exception_context()
276 zassert_true(fpu_is_off()); in exception_context()
282 zassert_true(fpu_is_dirty()); in exception_context()
285 zassert_true((csr_read(mstatus) & MSTATUS_IEN) == 0, "IRQs should be disabled"); in exception_context()
294 zassert_true(fpu_is_dirty()); in ZTEST()
297 zassert_true((csr_read(mstatus) & MSTATUS_IEN) != 0, "IRQs should be enabled"); in ZTEST()
301 zassert_true((csr_read(mstatus) & MSTATUS_IEN) != 0, "IRQs should be enabled"); in ZTEST()
302 zassert_true(fpu_is_dirty()); in ZTEST()
304 zassert_true(val == 654, "got %d instead", val); in ZTEST()
314 zassert_true((csr_read(mstatus) & MSTATUS_IEN) != 0, "IRQs should be enabled"); in ZTEST()
315 zassert_true(fpu_is_clean()); in ZTEST()
317 zassert_true(val == 654, "got %d instead", val); in ZTEST()
325 zassert_true((csr_read(mstatus) & MSTATUS_IEN) != 0, "IRQs should be enabled"); in ZTEST()
326 zassert_true(fpu_is_off()); in ZTEST()
330 zassert_true(fpu_is_clean()); in ZTEST()
331 zassert_true(val == 654, "got %d instead", val); in ZTEST()
344 zassert_true(k_float_disable(k_current_get()) == 0); \
345 zassert_true(fpu_is_off()); \
356 zassert_true(!fpu_is_off())
372 zassert_true(reg == 246912, "got %ld instead", reg); in ZTEST()
380 zassert_true(buf == 0x487120c9 /* 246915.140625 */, "got %#x instead", buf); in ZTEST()
405 zassert_true(buf == 0x48712177 /* 246917.859375 */, "got %#x instead", buf); in ZTEST()
416 zassert_true(buf64 == 0x4022d97f62b6ae7dLL /* 9.4248 */, in ZTEST()
426 zassert_true(reg == 12812820, "got %ld instead", reg); in ZTEST()
433 zassert_true(reg == -11290064, "got %ld instead", reg); in ZTEST()
440 zassert_true(reg == -11290593, "got %ld instead", reg); in ZTEST()
447 zassert_true(reg == -585990, "got %ld instead", reg); in ZTEST()