Test of mutateConjugate method, of class Complex.
()
| 341 | * Test of mutateConjugate method, of class Complex. |
| 342 | */ |
| 343 | @Test |
| 344 | public void testMutateConjugate() |
| 345 | { |
| 346 | System.out.println("mutateConjugate"); |
| 347 | a.mutateConjugate(); |
| 348 | assertEquals(new Complex(aClone.getReal(), -aClone.getImag()), a); |
| 349 | |
| 350 | c.mutateConjugate(); |
| 351 | assertEquals(new Complex(cClone.getReal(), -cClone.getImag()), c); |
| 352 | |
| 353 | d.mutateConjugate(); |
| 354 | assertEquals(new Complex(dClone.getReal(), -dClone.getImag()), d); |
| 355 | } |
| 356 | |
| 357 | /** |
| 358 | * Test of getConjugate method, of class Complex. |
nothing calls this directly
no test coverage detected