| 167 | } |
| 168 | |
| 169 | int main() { |
| 170 | // If any of these tests fail they throw an exception, not catching makes for a nonzero return code |
| 171 | |
| 172 | // general things that should be errors |
| 173 | testErrorConditions(); |
| 174 | // reconfiguring how you are sending |
| 175 | testReconfigure(); |
| 176 | // no batching |
| 177 | testSendRecv(0, 0); |
| 178 | // background batching |
| 179 | testSendRecv(32, 1000); |
| 180 | // manual flushing of batches |
| 181 | testSendRecv(16, 0); |
| 182 | |
| 183 | return EXIT_SUCCESS; |
| 184 | } |
nothing calls this directly
no test coverage detected