Fleshing out RTIM test conclusion
This commit is contained in:
@@ -644,6 +644,11 @@ public class GenericCardTestHelper extends AbstractAtTest {
|
|||||||
SkipToPhase(Phase.ASSIGNMENT);
|
SkipToPhase(Phase.ASSIGNMENT);
|
||||||
PassCurrentPhaseActions();
|
PassCurrentPhaseActions();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void SkipToShadowAssignments() throws DecisionResultInvalidException {
|
||||||
|
SkipToAssignments();
|
||||||
|
FreepsDeclineAssignments();
|
||||||
|
}
|
||||||
public void SkipToMovementDecision() throws DecisionResultInvalidException {
|
public void SkipToMovementDecision() throws DecisionResultInvalidException {
|
||||||
SkipToPhase(Phase.REGROUP);
|
SkipToPhase(Phase.REGROUP);
|
||||||
PassCurrentPhaseActions();
|
PassCurrentPhaseActions();
|
||||||
|
|||||||
@@ -83,15 +83,13 @@ public class Card_01_224_Tests
|
|||||||
//Enquea is the twilight version, who is not fierce. He should still be a valid target
|
//Enquea is the twilight version, who is not fierce. He should still be a valid target
|
||||||
// when RTIM triggers during a fierce skirmish.
|
// when RTIM triggers during a fierce skirmish.
|
||||||
|
|
||||||
scn.SkipToAssignments();
|
scn.SkipToShadowAssignments();
|
||||||
//We will skip the non-fierce skirmishes
|
|
||||||
scn.FreepsDeclineAssignments();
|
|
||||||
assertEquals(2, scn.ShadowGetShadowAssignmentTargetCount()); // both enquea and TWK
|
assertEquals(2, scn.ShadowGetShadowAssignmentTargetCount()); // both enquea and TWK
|
||||||
|
//We will skip the non-fierce skirmishes
|
||||||
scn.ShadowDeclineAssignments();
|
scn.ShadowDeclineAssignments();
|
||||||
|
|
||||||
//Fierce skirmish assignment phase
|
//Fierce skirmish assignment phase
|
||||||
scn.PassCurrentPhaseActions();
|
scn.SkipToShadowAssignments();
|
||||||
scn.FreepsDeclineAssignments();
|
|
||||||
assertEquals(1, scn.ShadowGetShadowAssignmentTargetCount()); // TWK, but not enquea
|
assertEquals(1, scn.ShadowGetShadowAssignmentTargetCount()); // TWK, but not enquea
|
||||||
scn.ShadowAssignToMinions(guard, twk);
|
scn.ShadowAssignToMinions(guard, twk);
|
||||||
scn.FreepsResolveSkirmish(guard);
|
scn.FreepsResolveSkirmish(guard);
|
||||||
@@ -104,10 +102,11 @@ public class Card_01_224_Tests
|
|||||||
assertTrue(scn.ShadowPlayAvailable(rtim));
|
assertTrue(scn.ShadowPlayAvailable(rtim));
|
||||||
scn.ShadowPlayCard(rtim);
|
scn.ShadowPlayCard(rtim);
|
||||||
|
|
||||||
//Can't quite get the rest
|
|
||||||
|
|
||||||
assertEquals(2, scn.GetShadowCardChoiceCount()); // both enquea and TWK
|
assertEquals(2, scn.GetShadowCardChoiceCount()); // both enquea and TWK
|
||||||
scn.ShadowChooseCard(enquea);
|
scn.ShadowChooseCard(enquea);
|
||||||
|
|
||||||
|
assertEquals(Phase.SKIRMISH, scn.GetCurrentPhase());
|
||||||
|
assertTrue(scn.IsCharAssigned(enquea));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user