237238239240241242243244245246247
*/ public void testConjugateExceptions() { ComplexArray1D a = new ComplexArray1D(new Complex[] { new Complex(1, 1) }); try { a.conjugate(-1); fail(); } catch (IndexOutOfBoundsException e) { assertTrue(true); } catch (Exception e) { fail();
245246247248249250251252253254255
assertTrue(true); } catch (Exception e) { fail(); } try { a.conjugate(5); fail(); } catch (IndexOutOfBoundsException e) { assertTrue(true); } catch (Exception e) { fail();