@Test
public void testMoreColumns() {

  double[] singularValues = { 123.456, 2.3, 1.001, 0.999 };
  int rows    = singularValues.length;
  int columns = singularValues.length + 2;
  Random r = RandomUtils.getRandom();
  SingularValueDecomposition svd =
    new SingularValueDecomposition(createTestMatrix(r, rows, columns, singularValues));
  double[] computedSV = svd.getSingularValues();
  assertEquals(singularValues.length, computedSV.length);
  for (int i = 0; i < singularValues.length; ++i) {
    assertEquals(singularValues[i], computedSV[i], 1.0e-10);
  }
}