ok    1  identity matrix: reshape(v, 3, 3, recycle: true) with v = 1, 0, 0, 0
ok    2  default (no recycle): the first four elements
ok    3  stripe: reshape(p, 5, recycle: true) = 1 0 1 0 1
ok    4  without recycle the tail is zero
ok    5  recycle: false is the default
ok    6  the option value may be a variable
ok    7  reshape(g, 6): a 2 x 3 flattened in storage order
ok    8  reshape(g, 3, 2): same order, new rows
ok    9  three dimensions with recycling (8 from 6)
ok    10  matmul(m, identity) = m
ok    11  stats$sum(reshape(...)) counts the ones in a 7-stripe
ok    12  print reshape(...) prints the identity matrix
ok    13  reshape(v, 0) is empty
ok    14  inpl = reshape(inpl, 2, 3) keeps storage order
ok    15  in place shrink to 4 (1D again), _integer left alone (2026-09-19)
ok    16  in place recycle grows by repeating
ok    17  in place grow pads with zeros
ok    18  the append cursor follows the in-place reshape
ok    19  a string array reshapes in place (the shrink frees its tail)
ok    20  string recycle in place
ok    21  string grow pads with empty strings
ok    22  reshape(a) flattens a 2-D array to a vector (storage order)
ok    23  reshape(a) result is one-dimensional
ok    24  reshape(a) flattens a 3-D array
ok    25  reshape(a) of a 1-D array is a copy
ok    26  stats$sum(reshape(a)) over a flattened grid
ok    27  reshape(a) flattens a string array
ok    28  x = reshape(x) flattens in place

passed:  28   failed:  0 
