ComplexBuilder implements IBuilder<Complex> { public double getIm() { return im; } ComplexBuilder(final Complex c);  ComplexBuilder(final double re);  ComplexBuilder(final double re, final double im); double getRe(); double getIm(); ComplexBuilder add(final Complex c); ComplexBuilder add(final double a); ComplexBuilder chs(); ComplexBuilder div(final Complex c); ComplexBuilder div(final double r); ComplexBuilder inv(); ComplexBuilder mul(final Complex c); ComplexBuilder mul(final double r); ComplexBuilder mul(final double x, final double y); ComplexBuilder sub(final Complex c); ComplexBuilder sub(final double r); @Override Complex build();  }
@Test public void testGetIm() { assertEquals(c1.getIm(), new ComplexBuilder(c1).getIm(), 0); }