Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Java
/ getRealtest
Method
getRealtest
src/test/java/com/thealgorithms/maths/FFTTest.java:12–16 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
10
11
// Testing the simple function getReal
12
@Test
13
void
getRealtest() {
14
FFT.Complex complex =
new
FFT.Complex(1.0, 1.0);
15
assertEquals(1.0, complex.getReal());
16
}
17
18
// Testing the simple function getImaginary
19
@Test
Callers
nothing calls this directly
Calls
1
getReal
Method · 0.95
Tested by
no test coverage detected