def test_summary(self): # Set up app = Labyrinth(1, 1, self.set_up_test_scenario) app.play_us_card(116) # 3 ops app.deploy_reserves() # Invoke summary = app.get_summary() # Assert self.assertEqual(summary, [ 'Jihadist Ideology: Normal', '', 'VICTORY', 'Good Resources: 0 Islamist Resources: 1', 'Fair/Good Countries: 3 Poor/Islamist Countries: 4', '', 'GWOT', 'US Posture: Hard World Posture: Hard 1', 'US Prestige: 7', '', 'TROOPS', 'War: 9 troops available', '', 'JIHADIST FUNDING', 'Funding: 5 Cells Available: 11', '', 'EVENTS', 'Markers: None', 'Lapsing: None', '', 'US Reserves: 2' ])
def test_adding_three_ops_only_sets_to_two(self): # Set up app = Labyrinth(1, 1, LabyrinthTestCase.set_up_blank_test_scenario) assert app.us_reserves == 0 app.play_us_card(116) # 3 ops # Invoke app.deploy_reserves() # Check self.assertEqual(2, app.us_reserves)