@Test public void testDivide () { assertEquals ("0,25", divide (1, 4)); assertEquals ("-0,25", divide (1, -4)); assertEquals ("-0,25", divide (-1, 4)); assertEquals ("0,25", divide (-1, -4)); }
@Override Value divide (Value v) { return new RealValue (mValue / v.toRealValue ().mValue); }
RealValue extends Value { @Override Value divide (Value v) { return new RealValue (mValue / v.toRealValue ().mValue); } }
RealValue extends Value { @Override Value divide (Value v) { return new RealValue (mValue / v.toRealValue ().mValue); } RealValue(double value);   RealValue(String value); }
RealValue extends Value { @Override Value divide (Value v) { return new RealValue (mValue / v.toRealValue ().mValue); } RealValue(double value);   RealValue(String value); @Override String toString(); }
RealValue extends Value { @Override Value divide (Value v) { return new RealValue (mValue / v.toRealValue ().mValue); } RealValue(double value);   RealValue(String value); @Override String toString();  }