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

Added unit tests using Junit and Mockito for BoardEntry and PieceList class. #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

asbin4747
Copy link
Collaborator

Created unit tests for the BoardEntry and Piecelist class. Unit tests were written for several methods inside these classes.

@asbin4747
Copy link
Collaborator Author

asbin4747 commented Apr 7, 2020

Found a potential bug with the PieceList constructor that takes in a map. The constructor does not properly set the passed values of map. Need to refactor the code and separate the part calculating total score to a new method.

@asbin4747 asbin4747 changed the title Added unit tests using Junit and Mockito Added unit tests using Junit and Mockito for BoardEntry and PieceList class. May 17, 2020
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