()
| 24 | |
| 25 | // Testing the function add, assertEqual test |
| 26 | @Test |
| 27 | void addTest() { |
| 28 | FFT.Complex complex1 = new FFT.Complex(1.0, 1.0); |
| 29 | FFT.Complex complex2 = new FFT.Complex(2.0, 2.0); |
| 30 | double add = complex1.add(complex2).getReal(); |
| 31 | assertEquals(3.0, add); |
| 32 | } |
| 33 | |
| 34 | // Testing the function add, assertNotEqual test |
| 35 | @Test |