()
| 33 | |
| 34 | // Testing the function add, assertNotEqual test |
| 35 | @Test |
| 36 | void addFalseTest() { |
| 37 | FFT.Complex complex1 = new FFT.Complex(1.0, 1.0); |
| 38 | FFT.Complex complex2 = new FFT.Complex(2.0, 2.0); |
| 39 | double add = complex1.add(complex2).getReal(); |
| 40 | assertNotEquals(2.0, add); |
| 41 | } |
| 42 | |
| 43 | // Testing the function subtract, assertEqual test |
| 44 | @Test |