We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to use arrays with a TEST_CASE macro? This is possible for "strings" but i can't see a way to pass other array types
TEST_CASE
TEST_CASE((uint8_t[]){0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, 0, 0, 0, 0) void test_with_array(uint8_t const * const data, uint16_t a, uint16_t b, uint16_t c, uint16_t d)
should be equivalent to
static void runner_args1_test_with_array(void) { test_with_array((uint8_t[]){0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, 0, 0, 0, 0); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is it possible to use arrays with a
TEST_CASE
macro? This is possible for "strings" but i can't see a way to pass other array typesshould be equivalent to
The text was updated successfully, but these errors were encountered: