We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7e5099 commit 2448974Copy full SHA for 2448974
src/test/java/com/thealgorithms/datastructures/stacks/StackOfLinkedListTest.java
@@ -212,8 +212,8 @@ public void testStackIntegrity() {
212
public void testMixedDataTypes() {
213
// If your stack supports Object types, test with different data types
214
215
- stack.push(Integer.valueOf(1));
216
- stack.push(Integer.valueOf(2));
+ stack.push(1);
+ stack.push(2);
217
218
assertEquals(Integer.valueOf(2), stack.pop());
219
assertEquals(Integer.valueOf(1), stack.pop());
0 commit comments