2024-01-17 12:01:52 +00:00
|
|
|
-- negative tests
|
|
|
|
-- const and non-const inputs
|
2024-01-19 10:51:03 +00:00
|
|
|
[1,2,3,4,5] 1 [[1],[2],[3],[4],[5]] [[1],[2],[3],[4],[5]]
|
|
|
|
[1,2,3,4,5] 3 [[1,2,3],[2,3,4],[3,4,5]] [[1,2,3],[2,3,4],[3,4,5]]
|
|
|
|
[1,2,3,4,5] 5 [[1,2,3,4,5]] [[1,2,3,4,5]]
|
|
|
|
['ab','c','de','','hi'] 1 [['ab'],['c'],['de'],[''],['hi']] [['ab'],['c'],['de'],[''],['hi']]
|
|
|
|
['ab','c','de','','hi'] 3 [['ab','c','de'],['c','de',''],['de','','hi']] [['ab','c','de'],['c','de',''],['de','','hi']]
|
|
|
|
['ab','c','de','','hi'] 5 [['ab','c','de','','hi']] [['ab','c','de','','hi']]
|
2024-01-17 12:01:52 +00:00
|
|
|
-- special cases
|
|
|
|
[[2],[1]]
|
|
|
|
[[2],[1]]
|