Test of mutableDivide method, of class Complex.
()
| 283 | * Test of mutableDivide method, of class Complex. |
| 284 | */ |
| 285 | @Test |
| 286 | public void testMutableDivide_Complex() |
| 287 | { |
| 288 | System.out.println("mutableDivide"); |
| 289 | a.mutableDivide(b); |
| 290 | assertTrue(a.equals(new Complex(0.224137931034483, -0.189655172413793), 1e-14)); |
| 291 | assertEquals(bClone, b); |
| 292 | c.mutableDivide(d); |
| 293 | assertTrue(c.equals(new Complex(-1.67647058823529, -0.205882352941176), 1e-14)); |
| 294 | assertEquals(dClone, d); |
| 295 | } |
| 296 | |
| 297 | /** |
| 298 | * Test of divide method, of class Complex. |
nothing calls this directly
no test coverage detected