File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/test/java/com/thealgorithms/datastructures/queues Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 11package 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+
48import org .junit .jupiter .api .Test ;
59
610class 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
You can’t perform that action at this time.
0 commit comments