Skip to content

test: add edge case test cases for stack using queue#3183

Open
adityag1507 wants to merge 1 commit into
TheAlgorithms:masterfrom
adityag1507:add-stack-edge-tests
Open

test: add edge case test cases for stack using queue#3183
adityag1507 wants to merge 1 commit into
TheAlgorithms:masterfrom
adityag1507:add-stack-edge-tests

Conversation

@adityag1507

Copy link
Copy Markdown

Description

Added additional edge case tests for the stack_using_queue implementation.

Added Tests

  • Single element stack
  • Pop from empty stack
  • Negative number handling

These tests improve coverage for boundary conditions and help verify correct stack behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant