@Test public void testDivide() { _calculator.divide(); assertEquals(1.5, _calculator.getResult()); }
public String divide() { _result = _param1 / _param2; return ""; }
TinyCalculator implements Serializable { public String divide() { _result = _param1 / _param2; return ""; } }
TinyCalculator implements Serializable { public String divide() { _result = _param1 / _param2; return ""; } TinyCalculator(); }
TinyCalculator implements Serializable { public String divide() { _result = _param1 / _param2; return ""; } TinyCalculator(); double getParam1(); void setParam1(double param1); double getParam2(); void setParam2(double param2); double getResult(); void setResult(double result); String add(); String subtract(); String multiply(); String divide(); String divideInt(int p1, int p2); }
TinyCalculator implements Serializable { public String divide() { _result = _param1 / _param2; return ""; } TinyCalculator(); double getParam1(); void setParam1(double param1); double getParam2(); void setParam2(double param2); double getResult(); void setResult(double result); String add(); String subtract(); String multiply(); String divide(); String divideInt(int p1, int p2);  }