ddn.columnar.testkit

The shared cross-chunking oracle harness of the DDN Analytics family.

assertSameAcrossChunkings runs an operation on its inputs built three ways - as one chunk, as N uneven chunks, and as slices of larger chunks with odd offsets - and asserts the three results are equals. It is compiled unconditionally (like the thread-pool test controls in ddn.columnar.parallel) so every package's unittests link against the ONE oracle; a copied harness could drift, and the oracle itself must never differ between packages.

Functions 4

fnvoid assertSameAcrossChunkings(alias op)(Series[] inputs...)Runs `op` on the inputs built three ways - as one chunk, as N uneven chunks, and as slices of larger chunks with odd offsets - and asserts the three results are `equals`. Extend the variant list wh...
fnauto invokeOp(alias op)(Series[] args)Calls `op` with the array's elements as arguments (unary and binary).
fnSeries asUnevenChunks(Series s)Splits into chunks of sizes cycling [1, 3, 2], skipping empty pieces.
fnSeries asOddSlicedChunks(Series s)Pads three elements front and back, rechunks, then slices the window out: a chunk with a real offset (odd element offsets included).