MCPcopy Create free account
hub / github.com/TheAlgorithms/Java / addFalseTest

Method addFalseTest

src/test/java/com/thealgorithms/maths/FFTTest.java:35–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

addMethod · 0.95
getRealMethod · 0.80

Tested by

no test coverage detected