Skip to content

Commit e3002e7

Browse files
committed
Reduce minimum amount of expansions to 10 (fix for bel'shir vestige)
1 parent 888a3ee commit e3002e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_pickled_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def test_bot_ai(self, bot: BotAI):
112112
bot._game_info.map_ramps, bot._game_info.vision_blockers = bot._game_info._find_ramps_and_vision_blockers()
113113
assert bot.main_base_ramp # Test if any ramp was found
114114
# TODO: Cache all expansion positions for a map and check if it is the same
115-
assert len(bot.expansion_locations) >= 12
115+
assert len(bot.expansion_locations) >= 10
116116
# On N player maps, it is expected that there are N*X bases because of symmetry, at least for 1vs1 maps
117117
assert (
118118
len(bot.expansion_locations) % (len(bot.enemy_start_locations) + 1) == 0

0 commit comments

Comments
 (0)