Shop-Leiste im TFT-Stil: Cards mit Splash, Trait-Pills, Shine, Upgrade-Sterne, Lock, Gold/Streak-Pills
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -79,3 +79,11 @@ def test_invalid_actions_raise(art, cfg):
|
||||
game.buy_xp()
|
||||
with pytest.raises(InvalidAction):
|
||||
game.sell("bench", 0)
|
||||
|
||||
|
||||
def test_shop_lock_survives_step(art, cfg):
|
||||
game = Game(art, cfg, seed=2)
|
||||
game.toggle_lock()
|
||||
before = list(game.shop)
|
||||
game.step()
|
||||
assert game.shop == before
|
||||
|
||||
Reference in New Issue
Block a user