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

committed by
GitHub

parent
ea4dc15a24
commit
295e7436b1
@ -9,7 +9,7 @@ public class KnapsackMemoizationTest {
|
||||
KnapsackMemoization knapsackMemoization = new KnapsackMemoization();
|
||||
|
||||
@Test
|
||||
void Test1() {
|
||||
void test1() {
|
||||
int[] weight = {1, 3, 4, 5};
|
||||
int[] value = {1, 4, 5, 7};
|
||||
int capacity = 10;
|
||||
@ -17,7 +17,7 @@ public class KnapsackMemoizationTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
void Test2() {
|
||||
void test2() {
|
||||
int[] weight = {95, 4, 60, 32, 23, 72, 80, 62, 65, 46};
|
||||
int[] value = {55, 10, 47, 5, 4, 50, 8, 61, 85, 87};
|
||||
int capacity = 269;
|
||||
@ -25,7 +25,7 @@ public class KnapsackMemoizationTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
void Test3() {
|
||||
void test3() {
|
||||
int[] weight = {10, 20, 30};
|
||||
int[] value = {60, 100, 120};
|
||||
int capacity = 50;
|
||||
|
Reference in New Issue
Block a user