Kaynağa Gözat

(minor) Fix indentation.

John S. Ryan 10 yıl önce
ebeveyn
işleme
13a7d1b7e4

+ 7
- 7
exercises/grade-school/src/test/java/SchoolTest.java Dosyayı Görüntüle

12
   private final School school = new School();
12
   private final School school = new School();
13
 
13
 
14
 
14
 
15
-    @Test
15
+  @Test
16
   public void startsWithNoStudents() {
16
   public void startsWithNoStudents() {
17
     assertThat(school.db()).isEmpty();
17
     assertThat(school.db()).isEmpty();
18
   }
18
   }
19
 
19
 
20
   @Ignore
20
   @Ignore
21
-    @Test
21
+  @Test
22
   public void addsStudents() {
22
   public void addsStudents() {
23
     school.add("Aimee", 2);
23
     school.add("Aimee", 2);
24
     assertThat(school.db().get(2)).contains("Aimee");
24
     assertThat(school.db().get(2)).contains("Aimee");
25
   }
25
   }
26
 
26
 
27
   @Ignore
27
   @Ignore
28
-    @Test
28
+  @Test
29
   public void addsMoreStudentsInSameGrade() {
29
   public void addsMoreStudentsInSameGrade() {
30
     final int grade = 2;
30
     final int grade = 2;
31
     school.add("James", grade);
31
     school.add("James", grade);
36
   }
36
   }
37
 
37
 
38
   @Ignore
38
   @Ignore
39
-    @Test
39
+  @Test
40
   public void addsStudentsInMultipleGrades() {
40
   public void addsStudentsInMultipleGrades() {
41
     school.add("Chelsea", 3);
41
     school.add("Chelsea", 3);
42
     school.add("Logan", 7);
42
     school.add("Logan", 7);
47
   }
47
   }
48
 
48
 
49
   @Ignore
49
   @Ignore
50
-    @Test
50
+  @Test
51
   public void getsStudentsInAGrade() {
51
   public void getsStudentsInAGrade() {
52
     school.add("Franklin", 5);
52
     school.add("Franklin", 5);
53
     school.add("Bradley", 5);
53
     school.add("Bradley", 5);
56
   }
56
   }
57
 
57
 
58
   @Ignore
58
   @Ignore
59
-    @Test
59
+  @Test
60
   public void getsStudentsInEmptyGrade() {
60
   public void getsStudentsInEmptyGrade() {
61
     assertThat(school.grade(1)).isEmpty();
61
     assertThat(school.grade(1)).isEmpty();
62
   }
62
   }
63
 
63
 
64
   @Ignore
64
   @Ignore
65
-    @Test
65
+  @Test
66
   public void sortsSchool() {
66
   public void sortsSchool() {
67
     school.add("Jennifer", 4);
67
     school.add("Jennifer", 4);
68
     school.add("Kareem", 6);
68
     school.add("Kareem", 6);