|
1179 | 1179 | (click-prompt state :runner "Yes")
|
1180 | 1180 | "Drew 1 card from the flip back"))))
|
1181 | 1181 |
|
| 1182 | +(deftest dewi-is-interactive |
| 1183 | + (testing "flip dewi interactively" |
| 1184 | + (do-game |
| 1185 | + (new-game {:runner {:id "Dewi Subrotoputri: Pedagogical Dhalang" |
| 1186 | + :hand ["Endless Hunger" "Bahia Bands"]}}) |
| 1187 | + (take-credits state :corp) |
| 1188 | + (play-from-hand state :runner "Bahia Bands") |
| 1189 | + (click-prompt state :runner "Archives") |
| 1190 | + (run-continue-until state :success) |
| 1191 | + (is (changed? [(:credit (get-runner)) 1] |
| 1192 | + (click-prompts state :runner "Bahia Bands" "Draw 2 cards" "Install a card from the grip, paying 1 [Credits] less" "Endless Hunger" "Yes")) |
| 1193 | + "Gained 1c/flipped from installing endless hunger"))) |
| 1194 | + (testing "unflip dewi interactively" |
| 1195 | + (do-game |
| 1196 | + (new-game {:runner {:id "Dewi Subrotoputri: Pedagogical Dhalang" |
| 1197 | + :hand ["Endless Hunger" "Fermenter" "Bahia Bands"] |
| 1198 | + :deck [(qty "Ika" 5)]}}) |
| 1199 | + (take-credits state :corp) |
| 1200 | + (play-from-hand state :runner "Endless Hunger") |
| 1201 | + (is (changed? [(:credit (get-runner)) 1] |
| 1202 | + (run-empty-server state :archives) |
| 1203 | + (click-prompt state :runner "Yes"))) |
| 1204 | + (play-from-hand state :runner "Bahia Bands") |
| 1205 | + (click-prompt state :runner "Archives") |
| 1206 | + (run-continue-until state :success) |
| 1207 | + (is (changed? [(count (:hand (get-runner))) 2] |
| 1208 | + (click-prompts state :runner "Bahia Bands" "Draw 2 cards" "Install a card from the grip, paying 1 [Credits] less" "Fermenter" "Endless Hunger" "Yes")) |
| 1209 | + "Drew 1/flipped from installing endless hunger")))) |
| 1210 | + |
1182 | 1211 | (deftest earth-station-sea-headquarters-front-side-additional-cost-to-run-hq
|
1183 | 1212 | ;; Additional cost to run HQ
|
1184 | 1213 | (do-game
|
|
0 commit comments