aboutsummaryrefslogtreecommitdiffstats
path: root/src/jcgp/backend/modules/fitness/TestCase.java
blob: 23f7ecf293dd9ebe6ed3e7d8f532e1fad8573883 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package jcgp.backend.modules.fitness;

public class TestCase {

	private Object[] inputs;
	private Object[] outputs;
	
	public TestCase(Object[] inputs, Object[] outputs) {
		this.inputs = inputs;
		this.outputs = outputs;
	}
	
	public Object getInput(int index) {
		return inputs[index];
	}
	
	public Object getOutput(int index) {
		return outputs[index];
	}
	
	public Object[] getInputs() {
		return inputs;
	}
	
	public Object[] getOutputs() {
		return outputs;
	}
	
}