Skip to content

Conversation

@anhhqfx08127
Copy link

Created comprehensive unit tests:

  • BinaryNodeTest
  • ListNodeTest
  • PairTest

During test development, discovered that ListNode.equals did not compare the next field.
Refactored ListNode.equals (and hashCode) to include next comparison for correctness.

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