Skip to content

Converting tests to AssertJ (exercises starting with H, I, K) #2052

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 16 commits into from
Nov 2, 2021

Conversation

thtroyer
Copy link
Contributor

I saw someone else group their AssertJ conversions together and figured I'd start doing the same.

The tests have been converted from using JUnit's assertions to use AssertJ, cleaning up and inlining portions of the tests that make sense to do so.

I also updated the reference implementation for knapsack. It needlessly specified ArrayList in its method signatures (instead of just List). Switching to List let me clean up the tests a little more.

Exercises updated:

  • hamming
  • hangman
  • hello-world
  • hexadecimal
  • house
  • isbn-verifier
  • isogram
  • kindergarten-garden
  • knapsack

Reviewer Resources:

Track Policies

Copy link
Contributor

@mirkoperillo mirkoperillo left a comment

Choose a reason for hiding this comment

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

thank you @thtroyer LGTM

@mirkoperillo mirkoperillo merged commit d4071c2 into exercism:main Nov 2, 2021
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.

2 participants