### Question:
QRDecompositionCommonsResult implements QRDecompositionResult { @Override public DoubleMatrix getR() { return _r; } QRDecompositionCommonsResult(QRDecomposition qr); @Override DoubleMatrix getQ(); @Override DoubleMatrix getQT(); @Override DoubleMatrix getR(); @Override DoubleArray solve(DoubleArray b); @Override double[] solve(double[] b); @Override DoubleMatrix solve(DoubleMatrix b);  }### Answer:
@Test public void testGetR() { double[][] expectedRaw = new double[][] { {-101.2175874045612574, -15.2147471550048152, -16.0150033365342956, -6.6095232770767698}, {0.0000000000000000, -50.7002117254876197, -25.9433980408179785, -23.0657374934840220}, {0.0000000000000000, 0.0000000000000000, -27.7931604217022681, -27.3356769161449193}, {0.0000000000000000, 0.0000000000000000, 0.0000000000000000, -11.3157732156316868}}; assertThat(FuzzyEquals.ArrayFuzzyEquals(RESULT.getR().toArray(), expectedRaw)).isTrue(); }