diff --git a/tests/bitarithm_timings/main.c b/tests/bitarithm_timings/main.c index 00b6c76993..c5cf4a7b10 100644 --- a/tests/bitarithm_timings/main.c +++ b/tests/bitarithm_timings/main.c @@ -28,13 +28,13 @@ * @} */ -#include #include #include #include #include #include "bitarithm.h" +#include "test_utils/expect.h" #include "xtimer.h" #define TIMEOUT_S (5ul) @@ -116,8 +116,8 @@ static void run_test_test_and_clear(void) xtimer_set(&xtimer, TIMEOUT); do { - assert(do_test_and_clear(TEST_AND_CLEAR_TEST_MASK_0) == TEST_AND_CLEAR_TEST_MASK_0); - assert(do_test_and_clear(TEST_AND_CLEAR_TEST_MASK_1) == TEST_AND_CLEAR_TEST_MASK_1); + expect(do_test_and_clear(TEST_AND_CLEAR_TEST_MASK_0) == TEST_AND_CLEAR_TEST_MASK_0); + expect(do_test_and_clear(TEST_AND_CLEAR_TEST_MASK_1) == TEST_AND_CLEAR_TEST_MASK_1); ++count; } while (atomic_load(&done) == false);