Searched refs:PICOTEST_CHECK (Results 1 – 5 of 5) sorted by relevance
/hal_rpi_pico-3.4.0/test/pico_time_test/ |
D | pico_time_test.c | 110 …PICOTEST_CHECK(absolute_time_diff_us(time_base, get_absolute_time()) < init_ms * 1000, "This is a … in main() 124 PICOTEST_CHECK(timeouts[i].fired_count, "Timer should have fired"); in main() 125 PICOTEST_CHECK(timeouts[i].fired_count < 2, "Timer should only have fired once"); in main() 127 PICOTEST_CHECK(timeouts[i].fired_count != 1 || fired_at >= MAX(RESOLUTION_ALLOWANCE, in main() 130 …PICOTEST_CHECK(timeouts[i].fired_count != 1 || fired_at > MAX(RESOLUTION_ALLOWANCE, last_fired_at[… in main() 186 …PICOTEST_CHECK( timeouts[i].not_cancelled ? timeouts[i].fired_count : true, "Timer that failed to … in main() 187 PICOTEST_CHECK(total == 1, "Timer should have fired or been cancelled"); in main() 201 …PICOTEST_CHECK(cancel_repeating_timer(repeating_timers + i), "Cancelling repeating timer should su… in main() 202 …PICOTEST_CHECK(repeating_timer_callback_count[i] > 1, "Each repeating timer should have been calle… in main() 207 …PICOTEST_CHECK(!cancel_repeating_timer(repeating_timers + i), "Re-cancelling repeating timer shoul… in main() [all …]
|
/hal_rpi_pico-3.4.0/test/pico_sem_test/ |
D | pico_sem_test.c | 24 PICOTEST_CHECK(sem_try_acquire(&sem), "available permit not acquired"); in main() 25 PICOTEST_CHECK(!sem_try_acquire(&sem), "success with no permits"); in main()
|
/hal_rpi_pico-3.4.0/test/pico_stdio_test/ |
D | pico_stdio_test.c | 46 PICOTEST_CHECK(getchar_timeout_us(2000000) < 0, "someone pressed a key!"); in main() 52 PICOTEST_CHECK(deadlock_test_irq_called, "deadlock_test_irq was not called"); in main()
|
/hal_rpi_pico-3.4.0/test/pico_test/include/pico/ |
D | test.h | 31 #define PICOTEST_CHECK(COND, MESSAGE) if (!(COND)) { \ macro
|
/hal_rpi_pico-3.4.0/test/hardware_irq_test/ |
D | hardware_irq_test.c | 33 PICOTEST_CHECK(fire_count < MAX_FIRE_COUNT, "too many firings"); in record_fire() 89 PICOTEST_CHECK(ok, "DMA handlers were not called in the order expected"); in dma_check()
|