--TEST-- Test for method `copySize()`. --SKIPIF-- --FILE-- copySize($dmat->submat(0, 1, 1, 3)); $imat->copySize($imat->diag()); batch_assert('method `copySize()`', [$dmat->nRows(), 2], [$dmat->nCols(), 3], [$imat->nRows(), 3], [$imat->nCols(), 1] ); ?> --EXPECT--