update
This commit is contained in:
@@ -114,6 +114,18 @@ def _pool_total(game, api):
|
||||
return n
|
||||
|
||||
|
||||
def test_step_keeps_player_board_setup(art, cfg):
|
||||
"""Die manuelle Aufstellung wird nie durch stärkere Bank-Units ersetzt."""
|
||||
game = Game(art, cfg, seed=8)
|
||||
game.player.level = 2
|
||||
game.player.board = [{"api_name": "U1_0", "stars": 1, "items": []},
|
||||
{"api_name": "U1_1", "stars": 1, "items": []}]
|
||||
game.player.bench = [{"api_name": "U5_0", "stars": 2, "items": []}]
|
||||
before = [u["api_name"] for u in game.player.board]
|
||||
game.step()
|
||||
assert [u["api_name"] for u in game.player.board] == before
|
||||
|
||||
|
||||
def test_pool_conservation(art, cfg):
|
||||
for seed in (1, 2, 3):
|
||||
game = Game(art, cfg, seed=seed)
|
||||
|
||||
Reference in New Issue
Block a user