@Test
public void insertSubChannel() {

	for( boolean subtensor : new boolean[]{false,true}) {
		Tensor_F64 src = TensorFactory_F64.random(rand, subtensor, 4, 10, 8);
		Tensor_F64 dst = TensorFactory_F64.random(rand, subtensor, 5, 11, 12);
		TensorOps_F64.insertSubChannel(src,15,7,dst,19,8,3,4);
		for (int row = 0; row < 3; row++) {
			for (int col = 0; col < 4; col++) {
				assertEquals( src.d[15+row*7+col],dst.d[19+row*8+col], DeepBoofConstants.TEST_TOL_F64);
			}
		}
	}
}