@Test
public void stride() {

	Dummy tensor = new Dummy();
	tensor.reshape(10,5,6,7);
	tensor.computeStrides();
	for (int i = 0; i < 4; i++) {
		assertEquals(tensor.strides[i],tensor.stride(i));
	}
	for (int i = 0; i < 4; i++) {
		assertEquals(tensor.strides[4-i-1],tensor.stride(-i-1));
	}
}