Constant list literal that has the same elements as the bound test cases.
| 155 | |
| 156 | // Constant list literal that has the same elements as the bound test cases. |
| 157 | std::string ConstantList(bool overlap, int len) { |
| 158 | std::string list_body; |
| 159 | for (int i = 0; i < len; i++) { |
| 160 | } |
| 161 | return absl::StrCat("[", overlap ? "1, " : "", |
| 162 | absl::StrJoin(std::vector<std::string>(len, "2"), ", "), |
| 163 | "]"); |
| 164 | } |
| 165 | |
| 166 | absl::StatusOr<std::unique_ptr<ListStorage>> RegisterModernLists( |
| 167 | bool overlap, int len, google::protobuf::Arena* absl_nonnull arena, |