| 22 | } |
| 23 | |
| 24 | TEST(test_arrays, sendReceivedInt32) |
| 25 | { |
| 26 | uint32_t array_count = 12; |
| 27 | int32_t send_array[12]; |
| 28 | int32_t(*received_array)[12]; |
| 29 | |
| 30 | for (uint32_t i = 0; i < array_count; ++i) |
| 31 | { |
| 32 | send_array[i] = (int32_t)i; |
| 33 | } |
| 34 | |
| 35 | received_array = sendReceivedInt32(send_array); |
| 36 | |
| 37 | for (uint32_t i = 0; i < array_count; ++i) |
| 38 | { |
| 39 | EXPECT_EQ(send_array[i], (*received_array)[i]); |
| 40 | } |
| 41 | erpc_free(received_array); |
| 42 | } |
| 43 | |
| 44 | TEST(test_arrays, sendReceived2Int32) |
| 45 | { |
nothing calls this directly
no test coverage detected