@Test
public void isShape() {

	Dummy tensor = new Dummy();
	tensor.reshape(10,5,6,7);
	int[] shape = new int[]{10,5,6,7};
	assertTrue(tensor.isShape(10,5,6,7));
	for (int i = 0; i < shape.length; i++) {
		int before = shape[i];
		shape[i] = before+1;
		assertFalse(tensor.isShape(shape));
		shape[i] = before;
	}
	Dummy foo = new Dummy();
	foo.reshape(10,5,6,7);
	assertTrue(tensor.isShape(foo.getShape()));
}