aboutsummaryrefslogtreecommitdiffstats
path: root/src/jcgp/TruthTable.java
blob: e62f56b405aa85a969a383fec2e7a974f5bdf568 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package jcgp;

import jcgp.modules.fitness.TestCase;

public class TruthTable {

	private static TestCase[] testCases;

	public static void setTestCases(TestCase ... testCases) {
		TruthTable.testCases = testCases;
	}

	public static TestCase getTestCase(int index) {
		return testCases[index];
	}

	public static int getTestCaseCount() {
		return testCases.length;
	}
	
}