public class StudentPlacementTest {

}
@@ -1,38 +1,1483 @@
-public class StudentPlacementTest %7B%0A
+import java.lang.reflect.Array;%0Aimport java.util.ArrayList;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Apublic class StudentPlacementTest %7B%0A%0A    @org.junit.Test%0A    public void sortStudentsOnGPA() throws Exception %7B%0A%0A        ArrayList%3CStudent%3E stulist = new ArrayList%3C%3E();%0A        ArrayList%3COptions%3E optlist = new ArrayList%3C%3E();%0A%0A        Options opt1 = new Options(%22Option1%22, 20);%0A        Options opt2 = new Options(%22Option2%22, 20);%0A        Options opt3 = new Options(%22Option3%22, 20);%0A        Options opt4 = new Options(%22Option4%22, 20);%0A        Options opt5 = new Options(%22Option5%22, 20);%0A%0A        optlist.add(opt1);%0A        optlist.add(opt2);%0A        optlist.add(opt3);%0A        optlist.add(opt4);%0A        optlist.add(opt5);%0A%0A        ArrayList%3CString%3E studentChoices =  new ArrayList%3C%3E();%0A        studentChoices.add(%22Option1%22);%0A        studentChoices.add(%22Option2%22);%0A        studentChoices.add(%22Option3%22);%0A        studentChoices.add(%22Option4%22);%0A%0A        for (int i=0; i%3C100; i++)%7B%0A            Student stu = new Student(%22A00123456%22, %22Mohammed%22, %22Bajaman%22, 1, %22%22, studentChoices);%0A            stulist.add(stu);%0A        %7D%0A%0A        StudentPlacement studentPlacement = new StudentPlacement(stulist,optlist);%0A        studentPlacement.displayGPA();%0A%0A        assertEquals(0,opt1.getEmptySeats());%0A        assertEquals(20,opt2.getEmptySeats());%0A        assertEquals(20,opt3.getEmptySeats());%0A        assertEquals(20,opt4.getEmptySeats());%0A        assertEquals(20,opt5.getEmptySeats());%0A    %7D
 %0A%7D

Test file for T-01