public void Replay_AttackCommand() { Game gameBefore = gm.CurrentGame; AttackCommand a1 = new AttackCommand(1, 4, 1); a1.execute(); AttackCommand a2 = new AttackCommand(2, 3, 1); a2.execute(); // On récupère le game à l'état initial pour comparer par la suite gm.CurrentGame = gm.Replay.GameInit; gm.Replay.replayGame(); Assert.IsTrue(CompareUtil.compareDictionaryUnits(gm.CurrentGame.UnitsDictionary, gameBefore.UnitsDictionary)); }