We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6df7f1f commit 8f87e6aCopy full SHA for 8f87e6a
1 file changed
src/test/java/com/thealgorithms/datastructures/queues/ReverseQueueRecursionTest.java
@@ -1,9 +1,15 @@
1
package com.thealgorithms.datastructures.queues;
2
+
3
import static org.junit.jupiter.api.Assertions.assertEquals;
4
5
import static org.junit.jupiter.api.Assertions.assertTrue;
6
7
import java.util.LinkedList;
8
9
import java.util.Queue;
10
11
import org.junit.jupiter.api.Test;
12
13
class ReverseQueueRecursionTest {
14
void testReverseMultipleElements() {
15
Queue<Integer> queue = new LinkedList<>();
@@ -44,3 +50,4 @@ void testReverseStringQueue() {
44
50
assertTrue(queue.isEmpty());
45
51
}
46
52
53
0 commit comments