Skip to content

Unit tests added for Tile class#164

Closed
vlad-nitu wants to merge 4 commits intoStephcraft:masterfrom
vlad-nitu:master
Closed

Unit tests added for Tile class#164
vlad-nitu wants to merge 4 commits intoStephcraft:masterfrom
vlad-nitu:master

Conversation

@vlad-nitu
Copy link
Copy Markdown

#162

Added unit tests for Tile class

The class is now fully tested (should now achieve 100% branch coverage)
In order to be able to easily unit test Tile class, I decided to mock the PImage dependency. For this, I had to add the mockito dependency in 'pom.xml' file (used the lates version of Mockito)

@vlad-nitu vlad-nitu mentioned this pull request Jul 9, 2022
Vlad Nitu added 2 commits July 12, 2022 20:33
# Conflicts:
#	pom.xml

Took 8 minutes
@micycle1
Copy link
Copy Markdown
Collaborator

Changes included in #167.

@micycle1 micycle1 closed this Dec 27, 2024
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.

3 participants