chemeris/openbts-p2.8 — comment on commit d0816dabcd5a306d8e057b034d64368b3d4979a9
File: CommonLibs/RLCMACTest.cpp line 90
By chemeris:

You should store test data in a separate array with automatic resize, like:
```C++
std::string testData[] = {
"4e082500e3f1a81d080820800b2b2b2b2b2b2b2b2b2b2b", // Packet Downlink Assignment
"48282407a6a074227201000b2b2b2b2b2b2b2b2b2b2b2b", // Packet Uplink Assignment
"47240c00400000000000000079eb2ac9402b2b2b2b2b2b", // Packet Uplink Ack Nack
"47283c367513ba333004242b2b2b2b2b2b2b2b2b2b2b2b" // Packet Uplink Assignment
};
int testDataSize = sizeof(testData)/sizeof(testData[0]);
```

Then you should dynamically allocate everything else based on testDataSize. Adding new test cases should be as smooth as possible, like adding just a single line to testData array.