| 77 | } |
| 78 | |
| 79 | static std::vector<std::string> MakeFloatStrings(int32_t num_items) { |
| 80 | std::vector<std::string> base_strings = {"0.0", "5", "-12.3", |
| 81 | "98765430000", "3456.789", "0.0012345", |
| 82 | "2.34567e8", "-5.67e-8"}; |
| 83 | std::vector<std::string> strings; |
| 84 | for (int32_t i = 0; i < num_items; ++i) { |
| 85 | strings.push_back(base_strings[i % base_strings.size()]); |
| 86 | } |
| 87 | return strings; |
| 88 | } |
| 89 | |
| 90 | static std::vector<std::string> MakeTimestampStrings(int32_t num_items) { |
| 91 | std::vector<std::string> base_strings = {"2018-11-13 17:11:10", "2018-11-13 11:22:33", |
no test coverage detected