Skip to content

Add extra test cases to Linked List#2332

Merged
sanderploegsma merged 1 commit into
exercism:mainfrom
p-czigany:add-test-cases-to-linked-list
Aug 28, 2023
Merged

Add extra test cases to Linked List#2332
sanderploegsma merged 1 commit into
exercism:mainfrom
p-czigany:add-test-cases-to-linked-list

Conversation

@p-czigany
Copy link
Copy Markdown
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
Copy Markdown
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. 😉

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