@Test
    public void test_solvable_matrix_size_2_solve2() throws 
            ImpossibleSolutionException,UnsquaredMatrixException,
            ElementOutOfRangeException{
        
        int height=2;
        int width=2;
        float[][] matrix; 
        float[]   resultVector;
        float[][] knownMatrix = new float[height][width];
        float[]   knownResults = new float[height];
        
        knownMatrix[0][0] = .00343f;
        knownMatrix[0][1] = .00412f;
        knownMatrix[1][0] = -.06902f;
        knownMatrix[1][1] = .01717f;
    
        knownResults[0] =  .58516f;
        knownResults[1] = -.56181f;
        try{
            test_matrix = new LinearEquationSystem(height,width);
        }catch(UnsquaredMatrixException e){
            throw e;
        }
        try{
            test_matrix.setValueAt(0,0,  50.0f);
            test_matrix.setValueAt(0,1, -12.0f);
            test_matrix.setValueAt(0,2,  36.0f);
            test_matrix.setValueAt(1,0, 201.0f);
            test_matrix.setValueAt(1,1,  10.0f);
            test_matrix.setValueAt(1,2, 112.0f);
        }catch(ElementOutOfRangeException e){
            throw e;
        }
        try{
            resultVector = test_matrix.solve();
        }catch(ImpossibleSolutionException e){
            throw e;
        }
        matrix = test_matrix.returnMatrix();
        Assert.assertArrayEquals(knownResults,resultVector,.0001f);
        Assert.assertArrayEquals(knownMatrix[0],matrix[0],.0001f);
        Assert.assertArrayEquals(knownMatrix[1],matrix[1],.0001f);
    }