MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / testClient

Function testClient

test/common/unit_test_zephyr_uart_arbitrator_server.cpp:220–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220int testClient()
221{
222 int number = 15;
223 for (int i = 0; i < number; i++)
224 {
225 secondSendInt(i + number);
226 }
227 for (int i = number - 1; i >= 0; i--)
228 {
229 if (i + number != secondReceiveInt())
230 {
231 return -1;
232 }
233 }
234 return 0;
235}

Callers 1

runClientFunction · 0.70

Calls 2

secondSendIntFunction · 0.85
secondReceiveIntFunction · 0.85

Tested by

no test coverage detected