fix: Deque minor fix
This commit is contained in:
parent
5d8a5c9dc9
commit
c020c11f0c
1 changed files with 12 additions and 1 deletions
|
@ -6,7 +6,7 @@ import eu.ztsh.training.hackerrank.SolutionClassDescription;
|
||||||
import org.junit.jupiter.api.DisplayName;
|
import org.junit.jupiter.api.DisplayName;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
@DisplayName("HackerRank challenges: Java Subarray")
|
@DisplayName("HackerRank challenges: Java Dequeue")
|
||||||
class SolutionTest extends HackerRankTest {
|
class SolutionTest extends HackerRankTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@ -20,6 +20,17 @@ class SolutionTest extends HackerRankTest {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testCase7() {
|
||||||
|
simpleAssert(
|
||||||
|
List.of(
|
||||||
|
"10 3",
|
||||||
|
"1 1 1 1 1 1 1 1 1 1"
|
||||||
|
),
|
||||||
|
List.of("1")
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected SolutionClassDescription getSolutionClassDescription() {
|
protected SolutionClassDescription getSolutionClassDescription() {
|
||||||
return new SolutionClassDescription(Solution.class);
|
return new SolutionClassDescription(Solution.class);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue