diff --git a/tests/pkg_micro-ecc/main.c b/tests/pkg_micro-ecc/main.c index a07035a98a..885e3b920d 100644 --- a/tests/pkg_micro-ecc/main.c +++ b/tests/pkg_micro-ecc/main.c @@ -36,7 +36,7 @@ #include #include -#include "assert.h" +#include "test_utils/expect.h" #include "hashes/sha256.h" #include "uECC.h" @@ -117,8 +117,8 @@ int main(void) const struct uECC_Curve_t *curve = uECC_secp256r1(); int errorc = 0; - assert(uECC_curve_private_key_size(curve) <= MAX_CURVE_SIZE); - assert(uECC_curve_public_key_size(curve) <= MAX_PUBLIC_KEY_SIZE); + expect(uECC_curve_private_key_size(curve) <= MAX_CURVE_SIZE); + expect(uECC_curve_public_key_size(curve) <= MAX_PUBLIC_KEY_SIZE); printf("Testing %d random private key pairs and signature without using HWRNG\n", TESTROUNDS);