return data;
}
};
MatrixRightAngleRotation positiveRotation = new MatrixRightAngleRotation(fakeContainer, true);
MatrixRightAngleRotation negativeRotation = new MatrixRightAngleRotation(fakeContainer, false);
MatrixSymmetry symmetry = new MatrixSymmetry(new MatrixSymmetry(fakeContainer, MatrixSymmetry.HORIZONTAL),
MatrixSymmetry.VERTICAL);
MatrixSymmetry symmetryH = new MatrixSymmetry(fakeContainer, MatrixSymmetry.HORIZONTAL);
MatrixSymmetry symmetryV = new MatrixSymmetry(fakeContainer, MatrixSymmetry.VERTICAL);
viewer.setNumberMatrix(data);
positiveRotated.setNumberMatrix(positiveRotation.getData());
positiveRotated.setYAxisConvertor(new DimensionReverter(data[0].length));
negativeRotated.setNumberMatrix(negativeRotation.getData());
negativeRotated.setXAxisConvertor(new DimensionReverter(data.length));
rotated180.setNumberMatrix(symmetry.getData());
rotated180.setYAxisConvertor(new DimensionReverter(data.length));
rotated180.setXAxisConvertor(new DimensionReverter(data[0].length));
symH.setNumberMatrix(symmetryH.getData());
symH.setYAxisConvertor(new DimensionReverter(data.length));
symV.setNumberMatrix(symmetryV.getData());
symV.setXAxisConvertor(new DimensionReverter(data[0].length));
JFrame testFrame = new JFrame("MatrixRightAngleRotationTest");
testFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
testFrame.setContentPane(mainPanel);
testFrame.setSize(750, 550);