| java.lang.Object experiments.JumblerExperiment
JumblerExperiment | public class JumblerExperiment (Code) | | A class used for the testing of com.reeltwo.jumble. Includes an incorrect addition
function (for coverage) and a multiply function (for timeouts)
author: Tin Pavlinic version: $Revision: 496 $ |
Method Summary | |
public int | add(int x, int y) | public int | multiply(int x, int y) |
add | public int add(int x, int y)(Code) | | Adds x and y
Parameters: x - the first argument Parameters: y - the second argument the sum of x and y |
multiply | public int multiply(int x, int y)(Code) | | Multiplies x and y
Parameters: x - the first argument Parameters: y - the second argument the product of x and y |
|
|