| 302 | } |
| 303 | |
| 304 | std::string TestDataGenerator::createLargePrompt(size_t size) { |
| 305 | std::string large_prompt; |
| 306 | large_prompt.reserve(size); |
| 307 | for (size_t i = 0; i < size; ++i) { |
| 308 | large_prompt += (i % 100 == 0) ? '\n' : 'a'; |
| 309 | } |
| 310 | return large_prompt; |
| 311 | } |
| 312 | |
| 313 | nlohmann::json TestDataGenerator::createMalformedResponse() { |
| 314 | return nlohmann::json{ |
nothing calls this directly
no outgoing calls
no test coverage detected