Beispiel #1
0
        public void FighterStatusCounterRemovesStatuses_WhenCounterReaches0([Values(1, 2, 3)] int turnCount)
        {
            ReflectStatus status = new ReflectStatus(turnCount, MagicType.Ice);

            _humanFighter.AddStatus(status);

            for (var i = 0; i < turnCount; ++i)
            {
                _humanFighter.OnTurnEnded(new TurnEndedEventArgs(_humanFighter));
            }

            _humanFighter.OnRoundEnded(new RoundEndedEventArgs(_humanTeam, _humanFighter));

            Assert.AreEqual(0, _humanFighter.Statuses.Count);
        }