test(game): strengthen legacy-constructor delegation assertions

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-01 14:19:54 +02:00
parent 18336ecc44
commit 58352087c4

View File

@@ -48,5 +48,7 @@ class GameSessionTest {
GameContext ctx = new GameContext(w, new Player(k, 0), new TestIO()); GameContext ctx = new GameContext(w, new Player(k, 0), new TestIO());
assertThat(ctx.getSession()).isNotNull(); assertThat(ctx.getSession()).isNotNull();
assertThat(ctx.getSession().getTurn()).isZero(); assertThat(ctx.getSession().getTurn()).isZero();
assertThat(ctx.getWorld()).isSameAs(w);
assertThat(ctx.getPlayer().getCurrentRoom()).isSameAs(k);
} }
} }