Skip to content
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

Add extra test cases to Linked List #2332

Merged

Conversation

p-czigany
Copy link
Contributor

@p-czigany p-czigany commented Aug 8, 2023

Add test cases validating popping & shifting from an already "emptied" linked list.

@p-czigany p-czigany changed the title validate popping & shifting from empty linkedlist Add extra test cases to Linked List Aug 8, 2023
Copy link
Contributor

@sanderploegsma sanderploegsma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch and thanks for your contribution!

Looking at the canonical data for this exercise there are no explicit test cases for push/pop/shift and shift/unshift/pop. However, the existing tests are not directly mapped to the canonical data anyway so IMO we can keep them, they might find some interesting bugs in student's solutions. 😉

@sanderploegsma sanderploegsma added the x:size/small Small amount of work label Aug 28, 2023
@sanderploegsma sanderploegsma merged commit cdb28e9 into exercism:main Aug 28, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
x:size/small Small amount of work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants