Skip to content

Commit 892b8c9

Browse files
committed
Add descriptions
1 parent 093e352 commit 892b8c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ public void testQue() {
1919

2020
final int[] element = { 1 };
2121

22+
// iterates over al the elements present
23+
// as in the form of nodes
2224
queue.forEach(integer -> {
2325
if (element[0]++ != integer)
2426
throw new AssertionError();

0 commit comments

Comments
 (0)