test(game): strengthen legacy-constructor delegation assertions
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -48,5 +48,7 @@ class GameSessionTest {
|
||||
GameContext ctx = new GameContext(w, new Player(k, 0), new TestIO());
|
||||
assertThat(ctx.getSession()).isNotNull();
|
||||
assertThat(ctx.getSession().getTurn()).isZero();
|
||||
assertThat(ctx.getWorld()).isSameAs(w);
|
||||
assertThat(ctx.getPlayer().getCurrentRoom()).isSameAs(k);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user