summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-11-09 15:59:16 -0600
committerBryan Bishop <kanzure@gmail.com>2013-11-09 15:59:16 -0600
commitd5989b755aeedb3d553d225e29c3b8c7c4d8640f (patch)
treec3f9aa7fbfefdae0bfe15232b927d5e995fc5353
parenteb31936aa758a9a8534a3fd53a4987c0d5d9ca0b (diff)
write another quick battle test
-rw-r--r--tests/test_vba_battle.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_vba_battle.py b/tests/test_vba_battle.py
index acf9d7d..12b991c 100644
--- a/tests/test_vba_battle.py
+++ b/tests/test_vba_battle.py
@@ -46,9 +46,14 @@ class BattleTests(unittest.TestCase):
def test_is_player_turn(self):
self.battle.skip_start_text()
+ self.battle.skip_until_input_required()
# the initial state should be the player's turn
self.assertTrue(self.battle.is_player_turn())
+ def test_is_mandatory_switch_initial(self):
+ # should not be asking for a switch so soon in the battle
+ self.assertFalse(self.battle.is_mandatory_switch())
+
if __name__ == "__main__":
unittest.main()