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

Tests/moretests #25

Merged
merged 3 commits into from Jan 17, 2019
Merged

Tests/moretests #25

merged 3 commits into from Jan 17, 2019

Conversation

Xephyz
Copy link
Contributor

@Xephyz Xephyz commented Jan 17, 2019

Changes

  • 2 new tests in GameTest.java
    • Added buyFieldPlayerIsOnTest()
    • Added getPlayerFieldTypeTest
  • 2 new tests in ChanceCardTest.java
    • Added getPaidCardTest1()
    • Added getPaidCardTest2()
    • Added two more players to Game testGame for better testing
  • GetPaidCard constructor changed to public: public GetPaidCard(...)

- Added ```buyFieldPlayerIsOnTest()```
- Added ```getPlayerFieldTypeTest```
- Made ```GetPaidCard()``` public for easier testing
- Added ```getPaidCardTest1()```
- Added ```getPaidCardTest2()```
- Added two more players to ```testGame``` for better testing
@Xephyz Xephyz added the enhancement New feature or request label Jan 17, 2019
@Xephyz Xephyz self-assigned this Jan 17, 2019
@Xephyz Xephyz merged commit 18f27ca into dev Jan 17, 2019
@Xephyz Xephyz deleted the tests/moretests branch January 17, 2019 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant