1 assertEq( [1,2,3], redimSize( 3, 3, [1,2,3] ) );
2 assertEq( [1,6,1], redimSize( 3, 2, [1,2,3] ) );
3 assertEq( [5,6,1], redimSize( 3, 2, [5,3,2] ) );
4 assertEq( [5,6], redimSize( 2, 2, [5,3,2] ) );
5 assertEq( [30,1,1,1], redimSize( 4, 1, [5,3,2] ) );