@Test
public void testSquareArray() throws Exception {

    double[] squarePower = rayleighAux.getSquarePower(new double[]{2, 3, 4, 5});
    assertArrayEquals(new double[]{4, 9, 16, 25}, squarePower, 1e-3);
}