Content-Length: 266992 | pFad | http://github.com/TheAlgorithms/Java/pull/6430/commits/244897490d7ace14ede680fa33235e225b1048de

CE testing: improve test coverage `StackOfLinkedListTest` by alxkm · Pull Request #6430 · TheAlgorithms/Java · GitHub
Skip to content

testing: improve test coverage StackOfLinkedListTest #6430

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 24, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
testing: fix spotbugs
  • Loading branch information
alxkm committed Jul 21, 2025
commit 244897490d7ace14ede680fa33235e225b1048de
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ public void testStackIntegrity() {
public void testMixedDataTypes() {
// If your stack supports Object types, test with different data types

stack.push(Integer.valueOf(1));
stack.push(Integer.valueOf(2));
stack.push(1);
stack.push(2);

assertEquals(Integer.valueOf(2), stack.pop());
assertEquals(Integer.valueOf(1), stack.pop());
Expand Down








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/TheAlgorithms/Java/pull/6430/commits/244897490d7ace14ede680fa33235e225b1048de

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy