update readme and tips

This commit is contained in:
bridge
2026-01-09 00:49:16 +08:00
parent ff6d1b5de7
commit 59824d9cd5
18 changed files with 27 additions and 24 deletions

View File

@@ -153,14 +153,6 @@ class TestUpdateInitProgress:
}
assert INIT_PHASE_NAMES == expected_phases
def test_progress_percentages(self, reset_game_instance):
"""Test progress percentages for each phase."""
expected_progress = {0: 0, 1: 17, 2: 33, 3: 50, 4: 67, 5: 83}
for phase, expected in expected_progress.items():
update_init_progress(phase)
assert game_instance["init_progress"] == expected, f"Phase {phase} should have progress {expected}"
class TestNewGameEndpoint:
"""Tests for /api/game/new endpoint."""