@@ -170,6 +170,174 @@ public function dataAccepts(): iterable
170
170
]),
171
171
TrinaryLogic::createNo (),
172
172
];
173
+
174
+ yield [
175
+ new ConstantArrayType ([
176
+ new ConstantStringType ('sorton ' ),
177
+ new ConstantStringType ('limit ' ),
178
+ ], [
179
+ new StringType (),
180
+ new IntegerType (),
181
+ ], 0 , [0 , 1 ]),
182
+ new ConstantArrayType ([
183
+ new ConstantStringType ('sorton ' ),
184
+ new ConstantStringType ('limit ' ),
185
+ ], [
186
+ new ConstantStringType ('test ' ),
187
+ new ConstantStringType ('true ' ),
188
+ ]),
189
+ TrinaryLogic::createNo (),
190
+ ];
191
+
192
+ yield [
193
+ new ConstantArrayType ([
194
+ new ConstantStringType ('sorton ' ),
195
+ new ConstantStringType ('limit ' ),
196
+ ], [
197
+ new StringType (),
198
+ new IntegerType (),
199
+ ]),
200
+ new ConstantArrayType ([
201
+ new ConstantStringType ('sorton ' ),
202
+ new ConstantStringType ('limit ' ),
203
+ ], [
204
+ new ConstantStringType ('test ' ),
205
+ new ConstantStringType ('true ' ),
206
+ ]),
207
+ TrinaryLogic::createNo (),
208
+ ];
209
+
210
+ yield [
211
+ new ConstantArrayType ([
212
+ new ConstantStringType ('sorton ' ),
213
+ new ConstantStringType ('limit ' ),
214
+ ], [
215
+ new StringType (),
216
+ new IntegerType (),
217
+ ], 0 , [1 ]),
218
+ new ConstantArrayType ([
219
+ new ConstantStringType ('sorton ' ),
220
+ new ConstantStringType ('limit ' ),
221
+ ], [
222
+ new ConstantStringType ('test ' ),
223
+ new ConstantStringType ('true ' ),
224
+ ]),
225
+ TrinaryLogic::createNo (),
226
+ ];
227
+
228
+ yield [
229
+ new ConstantArrayType ([
230
+ new ConstantStringType ('limit ' ),
231
+ ], [
232
+ new IntegerType (),
233
+ ], 0 , [0 ]),
234
+ new ConstantArrayType ([
235
+ new ConstantStringType ('limit ' ),
236
+ ], [
237
+ new ConstantStringType ('true ' ),
238
+ ]),
239
+ TrinaryLogic::createNo (),
240
+ ];
241
+
242
+ yield [
243
+ new ConstantArrayType ([
244
+ new ConstantStringType ('limit ' ),
245
+ ], [
246
+ new IntegerType (),
247
+ ], 0 ),
248
+ new ConstantArrayType ([
249
+ new ConstantStringType ('limit ' ),
250
+ ], [
251
+ new ConstantStringType ('true ' ),
252
+ ]),
253
+ TrinaryLogic::createNo (),
254
+ ];
255
+
256
+ yield [
257
+ new ConstantArrayType ([
258
+ new ConstantStringType ('sorton ' ),
259
+ new ConstantStringType ('limit ' ),
260
+ ], [
261
+ new StringType (),
262
+ new StringType (),
263
+ ], 0 , [0 , 1 ]),
264
+ new ConstantArrayType ([
265
+ new ConstantStringType ('sorton ' ),
266
+ new ConstantStringType ('limit ' ),
267
+ ], [
268
+ new ConstantStringType ('test ' ),
269
+ new ConstantStringType ('true ' ),
270
+ ]),
271
+ TrinaryLogic::createYes (),
272
+ ];
273
+
274
+ yield [
275
+ new ConstantArrayType ([
276
+ new ConstantStringType ('name ' ),
277
+ new ConstantStringType ('color ' ),
278
+ ], [
279
+ new StringType (),
280
+ new StringType (),
281
+ ], 0 , [0 , 1 ]),
282
+ new ConstantArrayType ([
283
+ new ConstantStringType ('color ' ),
284
+ ], [
285
+ new ConstantStringType ('test ' ),
286
+ ]),
287
+ TrinaryLogic::createYes (),
288
+ ];
289
+
290
+ yield [
291
+ new ConstantArrayType ([
292
+ new ConstantStringType ('name ' ),
293
+ new ConstantStringType ('color ' ),
294
+ ], [
295
+ new StringType (),
296
+ new StringType (),
297
+ ], 0 , [0 , 1 ]),
298
+ new ConstantArrayType ([
299
+ new ConstantStringType ('sound ' ),
300
+ ], [
301
+ new ConstantStringType ('test ' ),
302
+ ]),
303
+ TrinaryLogic::createYes (),
304
+ ];
305
+
306
+ yield [
307
+ new ConstantArrayType ([
308
+ new ConstantStringType ('foo ' ),
309
+ new ConstantStringType ('bar ' ),
310
+ ], [
311
+ new StringType (),
312
+ new StringType (),
313
+ ], 0 , [0 , 1 ]),
314
+ new ConstantArrayType ([
315
+ new ConstantStringType ('foo ' ),
316
+ new ConstantStringType ('bar ' ),
317
+ ], [
318
+ new ConstantStringType ('s ' ),
319
+ new ConstantStringType ('m ' ),
320
+ ], 0 , [0 , 1 ]),
321
+ TrinaryLogic::createYes (),
322
+ ];
323
+
324
+ yield [
325
+ new ConstantArrayType ([
326
+ new ConstantStringType ('sorton ' ),
327
+ new ConstantStringType ('limit ' ),
328
+ ], [
329
+ new StringType (),
330
+ new IntegerType (),
331
+ ], 0 , [0 , 1 ]),
332
+ new ConstantArrayType ([
333
+ new ConstantStringType ('sorton ' ),
334
+ new ConstantStringType ('limit ' ),
335
+ ], [
336
+ new ConstantStringType ('test ' ),
337
+ new ConstantStringType ('true ' ),
338
+ ]),
339
+ TrinaryLogic::createNo (),
340
+ ];
173
341
}
174
342
175
343
/**
0 commit comments