mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-12-19 07:00:35 +08:00
style: enable MethodName in CheckStyle (#5182)
enabled: MethodName in CheckStyle
This commit is contained in:
committed by
GitHub
parent
ea4dc15a24
commit
295e7436b1
@@ -42,7 +42,7 @@ public class LongestIncreasingSubsequenceTests {
|
||||
{3, new int[] {1, 1, 2, 2, 2, 3, 3, 3, 3}},
|
||||
};
|
||||
|
||||
final List<IntArrayToInt> methods = Arrays.asList(LongestIncreasingSubsequence::LIS, LongestIncreasingSubsequence::findLISLen);
|
||||
final List<IntArrayToInt> methods = Arrays.asList(LongestIncreasingSubsequence::lis, LongestIncreasingSubsequence::findLISLen);
|
||||
|
||||
return Stream.of(testData).flatMap(input -> methods.stream().map(method -> Arguments.of(input[0], input[1], method)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user