@Test
public void subtensor() {

	Dummy tensor = new Dummy();
	tensor.reshape(3,6,8);
	Dummy sub = (Dummy)tensor.subtensor(5,new int[]{2,5});
	assertEquals(true,sub.subtensor);
	assertEquals(5,sub.startIndex);
	assertEquals(2,sub.shape.length);
	assertEquals(2,sub.shape[0]);
	assertEquals(5,sub.shape[1]);
}