feat: NCS-40 Rework Draw System #34
@@ -214,7 +214,7 @@ class GameEngineDrawOfferTest extends AnyFunSuite with Matchers:
|
|||||||
case other =>
|
case other =>
|
||||||
fail(s"Expected InvalidMoveEvent, but got $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 engine = new GameEngine()
|
||||||
val observer = new DrawOfferMockObserver()
|
val observer = new DrawOfferMockObserver()
|
||||||
engine.subscribe(observer)
|
engine.subscribe(observer)
|
||||||
|
|||||||
Reference in New Issue
Block a user