style: enable MethodName in CheckStyle (#5182)

enabled: MethodName in CheckStyle
This commit is contained in:
Godwill Christopher
2024-05-27 01:06:06 -06:00
committed by GitHub
parent ea4dc15a24
commit 295e7436b1
53 changed files with 225 additions and 225 deletions

View File

@ -74,7 +74,7 @@ class SJFSchedulingTest {
}
@Test
void schedulingOf_TwoProcesses() {
void schedulingOfTwoProcesses() {
initialisation0();
SJFScheduling a = new SJFScheduling(process);
a.scheduleProcesses();
@ -83,7 +83,7 @@ class SJFSchedulingTest {
}
@Test
void schedulingOfA_ShortestJobArrivingLast() {
void schedulingOfAShortestJobArrivingLast() {
initialisation2();
SJFScheduling a = new SJFScheduling(process);
a.scheduleProcesses();
@ -92,7 +92,7 @@ class SJFSchedulingTest {
assertEquals("2", a.schedule.get(2));
}
@Test
void scheduling_WithProcessesNotComingBackToBack() {
void schedulingWithProcessesNotComingBackToBack() {
initialisation3();
SJFScheduling a = new SJFScheduling(process);
a.scheduleProcesses();
@ -101,7 +101,7 @@ class SJFSchedulingTest {
assertEquals("3", a.schedule.get(2));
}
@Test
void schedulingOf_nothing() {
void schedulingOfNothing() {
process = new ArrayList<>();
SJFScheduling a = new SJFScheduling(process);
a.scheduleProcesses();