-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGATS_Main.java
More file actions
33 lines (31 loc) · 802 Bytes
/
GATS_Main.java
File metadata and controls
33 lines (31 loc) · 802 Bytes
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
30
31
32
33
/*********************************************************
* Filename: GATS_Main.java
* Author: Charles Walker
* Created: 11/08/23
* Modified:
*
* Purpose:
* Initializes the program by creating an instance of the PopulationControl
* class and calling on its start() method.
*
* Attributes:
* -popControl: PopulationControl()
*
* Methods:
* +main(String[]): void
*
*********************************************************/
public class GATS_Main {
public static void main(String[] args) {
PopulationControl popControl = new PopulationControl();
Test_Case test = new Test_Case();
int choice=0;
System.out.println("Would you like to run test cases?");
choice = popControl.testOrNot();
if(choice==1) {
test.start();
}else {
popControl.start();
}
}
}