Package com.irurueta.algebra
Class ComplexTest
java.lang.Object
com.irurueta.algebra.ComplexTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final double
private static final double
private static final double
private static final double
private static final double
private static final double
private static final double
private static final double
private static final double
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
testAdd()
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
testPow()
(package private) void
(package private) void
(package private) void
testSqrt()
(package private) void
-
Field Details
-
MIN_RANDOM_VALUE
private static final double MIN_RANDOM_VALUE- See Also:
-
MAX_RANDOM_VALUE
private static final double MAX_RANDOM_VALUE- See Also:
-
MIN_MODULUS
private static final double MIN_MODULUS- See Also:
-
MAX_MODULUS
private static final double MAX_MODULUS- See Also:
-
MIN_PHASE
private static final double MIN_PHASE- See Also:
-
MAX_PHASE
private static final double MAX_PHASE- See Also:
-
MIN_EXPONENT
private static final double MIN_EXPONENT- See Also:
-
MAX_EXPONENT
private static final double MAX_EXPONENT- See Also:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
-
Constructor Details
-
ComplexTest
ComplexTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() -
testGetSetReal
@Test void testGetSetReal() -
testGetSetImaginary
@Test void testGetSetImaginary() -
testGetSetRealAndImaginary
@Test void testGetSetRealAndImaginary() -
testGetModulus
@Test void testGetModulus() -
testGetPhase
@Test void testGetPhase() -
testSetModulusAndPhase
@Test void testSetModulusAndPhase() -
testConjugate
@Test void testConjugate() -
testAdd
@Test void testAdd() -
testSubtract
@Test void testSubtract() -
testMultiply
@Test void testMultiply() -
testDivide
@Test void testDivide() -
testMultiplyByScalar
@Test void testMultiplyByScalar() -
testPow
@Test void testPow() -
testSqrt
@Test void testSqrt() -
testEqualsAndHashCode
@Test void testEqualsAndHashCode() -
testClone
@Test void testClone() -
testCopyFrom
@Test void testCopyFrom() -
testSerializeDeserialize
- Throws:
IOException
ClassNotFoundException
-