feat: update draw offer test to include draw decline scenario
Build & Test (NowChessSystems) TeamCity build finished

This commit is contained in:
2026-04-19 22:18:35 +02:00
parent c29c1e6480
commit c26acc93c7
@@ -214,7 +214,7 @@ class GameEngineDrawOfferTest extends AnyFunSuite with Matchers:
case other =>
fail(s"Expected InvalidMoveEvent, but got $other")
test("Draw offer is cleared when game ends by resignation"):
test("Draw offer is cleared when game ends by resignation (decline)"):
val engine = new GameEngine()
val observer = new DrawOfferMockObserver()
engine.subscribe(observer)