mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-05 16:27:33 +08:00
style: enable MethodName
in CheckStyle (#5182)
enabled: MethodName in CheckStyle
This commit is contained in:

committed by
GitHub

parent
ea4dc15a24
commit
295e7436b1
@ -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();
|
||||
|
Reference in New Issue
Block a user