johanmoritz / freecol

FreeCol: FreeCol is a turn-based strategy game based on the old game Colonization, and similar to Civilization. The objective of the game is to create an independent nation.
GNU General Public License v2.0
0 stars 1 forks source link

Import unit tests for Scope::equals #50

Closed shrew97 closed 4 years ago

shrew97 commented 4 years ago

Adds 7 unit tests for Scope::equals in order to increase branch coverage, mostly using null values.

shrew97 commented 4 years ago

Don't really know why it shows 4 files as changed, should only be 1. They are the same versions as in feature/coverage-improvement , it is only ModifierTest.java that should be different from this branch. Verified this, but please take a look as well.