U
- the data type of the test case.public static class TestCaseProblem.TestCase<U>
extends java.lang.Object
Constructor and Description |
---|
TestCase(U[] inputs,
U[] outputs)
Creates a new test case, inputs and outputs
must be specified upon instantiation.
|
Modifier and Type | Method and Description |
---|---|
U |
getInput(int index) |
U[] |
getInputs() |
U |
getOutput(int index) |
U[] |
getOutputs() |
public U getInput(int index)
index
- the index to return.public U getOutput(int index)
index
- the index to return.public U[] getInputs()
public U[] getOutputs()