fix: Deque minor fix

This commit is contained in:
Piotr Dec 2024-03-15 22:15:01 +01:00
parent 5d8a5c9dc9
commit c020c11f0c
Signed by: stawros
GPG key ID: F89F27AD8F881A91

View file

@ -6,7 +6,7 @@ import eu.ztsh.training.hackerrank.SolutionClassDescription;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
@DisplayName("HackerRank challenges: Java Subarray")
@DisplayName("HackerRank challenges: Java Dequeue")
class SolutionTest extends HackerRankTest {
@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
protected SolutionClassDescription getSolutionClassDescription() {
return new SolutionClassDescription(Solution.class);