Skip to content

Commit

Permalink
add test disgnostics output
Browse files Browse the repository at this point in the history
  • Loading branch information
sveseli committed Apr 1, 2024
1 parent 6b19c20 commit 55bd40e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions testApp/remote/channelAccessIFTest.cpp
Expand Up @@ -2019,6 +2019,12 @@ void ChannelAccessIFTest::test_channelArray() {
CURRENT_FUNCTION, (unsigned long) bigCapacity);
testOk(data4[0] == 1.1 , "%s: 4.check 0: %f == 1.1", CURRENT_FUNCTION, data4[0]);
testOk(data4[1] == 2.2 , "%s: 4.check 1: %f == 2.2", CURRENT_FUNCTION, data4[1]);
if (data4.size() == bigCapacity) {
size_t i = bigCapacity-5;
for (; i < bigCapacity; i++) {
testDiag("%s: 4.check %d: %f", CURRENT_FUNCTION, int(i), data4[i]);
}
}
/*
if (data4.size() == bigCapacity) {
size_t i = newCap;
Expand Down

0 comments on commit 55bd40e

Please sign in to comment.