MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / testI

Method testI

JSAT/test/jsat/math/ComplexTest.java:57–64  ·  view source on GitHub ↗

Test of I method, of class Complex.

()

Source from the content-addressed store, hash-verified

55 * Test of I method, of class Complex.
56 */
57 @Test
58 public void testI()
59 {
60 System.out.println("I");
61 Complex result = Complex.I();
62 assertEquals(0.0, result.getReal(), 0.0);
63 assertEquals(1.0, result.getImag(), 0.0);
64 }
65
66 /**
67 * Test of getReal method, of class Complex.

Callers

nothing calls this directly

Calls 3

IMethod · 0.95
getRealMethod · 0.95
getImagMethod · 0.95

Tested by

no test coverage detected