}
/** Tests the {@link Complex#byteValue()} method. */
public void testByteValue() {
Complex c = new Complex(Math.random() * 100, Math.random() * 100);
assertEquals(c.byteValue(), (byte) c.getReal());
}
/** Tests the {@link Complex#shortValue()} method. */
public void testShortValue() {
Complex c = new Complex(Math.random() * 100, Math.random() * 100);