Skip to content

Commit 065aa16

Browse files
committed
Fix
1 parent 5c982c0 commit 065aa16

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/test/java/com/thealgorithms/datastructures/queues/GenericArrayListQueueTest.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
package com.thealgorithms.datastructures.queues;
22

3-
import static org.junit.jupiter.api.Assertions.*;
3+
import static org.junit.jupiter.api.Assertions.assertEquals;
4+
import static org.junit.jupiter.api.Assertions.assertFalse;
5+
import static org.junit.jupiter.api.Assertions.assertNull;
6+
import static org.junit.jupiter.api.Assertions.assertTrue;
7+
48
import org.junit.jupiter.api.Test;
59

610
class GenericArrayListQueueTest {
@@ -10,7 +14,7 @@ void testAdd() {
1014
GenericArrayListQueue<Integer> queue = new GenericArrayListQueue<>();
1115
assertTrue(queue.add(10));
1216
assertTrue(queue.add(20));
13-
assertEquals(10, queue.peek()); // Ensure the first added element is at the front
17+
assertEquals(10, queue.peek()); // Ensure the first added element is at the front
1418
}
1519

1620
@Test

0 commit comments

Comments
 (0)