Erwan
- Fix issue #16 (testsuite segfaults if file does not exist) - Fix issue #37 (Normal Combat Damage is not dealt to creatures when the AI attacks) - TestSuite now has an "AI" mode (see test/manual/p2_attacks.txt)
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
In this folder, we put tests that are not supposed to be 100% automated.
|
||||
you switch the control of each Test suite player to Human or AI, to monitor the behavior of the game given a specific starting state
|
||||
@@ -0,0 +1,11 @@
|
||||
#Scenario: simple attack with grizzly bears
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
inplay:grizzly bears
|
||||
[PLAYER2]
|
||||
[DO]
|
||||
human
|
||||
next
|
||||
[ASSERT]
|
||||
[END]
|
||||
@@ -0,0 +1,12 @@
|
||||
#Scenario: control magic on a creature: it gets duplicated ???
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
hand:control magic
|
||||
manapool:{2}{U}{U}
|
||||
[PLAYER2]
|
||||
inplay:air elemental
|
||||
[DO]
|
||||
human
|
||||
[ASSERT]
|
||||
[END]
|
||||
@@ -0,0 +1,11 @@
|
||||
#Scenario: simple attack with white knight
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
inplay:white knight
|
||||
[PLAYER2]
|
||||
[DO]
|
||||
human
|
||||
next
|
||||
[ASSERT]
|
||||
[END]
|
||||
@@ -0,0 +1,13 @@
|
||||
#Scenario: simple attack with white knight + grizzly bears
|
||||
#Attack with both.
|
||||
#There should be a request for interruption between the two damage assignation steps, so that users can cast spells
|
||||
[INIT]
|
||||
COMBATATTACKERS
|
||||
[PLAYER1]
|
||||
inplay:white knight,grizzly bears
|
||||
[PLAYER2]
|
||||
[DO]
|
||||
human
|
||||
next
|
||||
[ASSERT]
|
||||
[END]
|
||||
@@ -0,0 +1,23 @@
|
||||
#New blockers reordering rule
|
||||
[INIT]
|
||||
COMBATATTACKERS
|
||||
[PLAYER1]
|
||||
inplay:Puppeteer
|
||||
[PLAYER2]
|
||||
inplay:raging goblin,Drudge Skeletons
|
||||
[DO]
|
||||
Puppeteer
|
||||
next
|
||||
#blockers
|
||||
raging goblin
|
||||
Drudge Skeletons
|
||||
next
|
||||
human
|
||||
[ASSERT]
|
||||
COMBATEND
|
||||
[PLAYER1]
|
||||
graveyard:Puppeteer
|
||||
[PLAYER2]
|
||||
graveyard:Drudge Skeletons
|
||||
inplay:raging goblin
|
||||
[END]
|
||||
@@ -0,0 +1,16 @@
|
||||
#Bug: AI player 2 attacks: no damage is dealt
|
||||
#This is a test switching both players to AI mode, it IS NOT SUPPOSED TO Succeed, just for testers to visually confirm stuff
|
||||
[INIT]
|
||||
SECONDMAIN
|
||||
[PLAYER1]
|
||||
inplay:dancing scimitar
|
||||
[PLAYER2]
|
||||
inplay:cloud sprite,briarberry cohort,white knight
|
||||
[DO]
|
||||
ai
|
||||
ai
|
||||
[ASSERT]
|
||||
COMBATEND
|
||||
[PLAYER1]
|
||||
[PLAYER2]
|
||||
[END]
|
||||
Reference in New Issue
Block a user