Package it.polimi.ingsw.Model
Class Card03Test
java.lang.Object
it.polimi.ingsw.Model.Card03Test
This test set verifies that the card 03 is able to change the control of an island leaving mother nature still
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
An invalid player action should error out.void
An invalid player action should error out.void
An invalid player action should error out.void
checkUse()
Card 03 should be able to change influence on an island according to rules without moving mother nature on it
-
Field Details
-
gb
-
card
-
-
Constructor Details
-
Card03Test
public Card03Test()
-
-
Method Details
-
checkUse
Card 03 should be able to change influence on an island according to rules without moving mother nature on it- Throws:
Exception
- is thrown when an invalid card activation happens, but this test should not error out (by definition)
-
checkInvalidInput
An invalid player action should error out.
An island has to be selected for the action to be working- Throws:
Exception
- an invalid input has been used to activate the card
-
checkInvalidIslandInput
An invalid player action should error out.
An island must have a valid id to be selected- Throws:
Exception
- an invalid input has been used to activate the card
-
checkIslandNotInField
An invalid player action should error out.
An island must exist in the island field to be selected- Throws:
Exception
- an invalid input has been used to activate the card
-