Move the ARRAY_LENGTH macro to the common helpers file
diff --git a/tests/suites/helpers.function b/tests/suites/helpers.function
index cbe3fa0..38c16ad 100644
--- a/tests/suites/helpers.function
+++ b/tests/suites/helpers.function
@@ -150,6 +150,9 @@
     mbedtls_exit( 1 );                                             \
 }
 
+/** Return the number of elements of a static or stack array. */
+#define ARRAY_LENGTH( array )                   \
+    ( sizeof( array ) / sizeof( *( array ) ) )
 /*
  * 32-bit integer manipulation macros (big endian)
  */