Esempio n. 1
0
        public void FightWithTwoMixedParticipantsIsStarted()
        {
            _fight.AddParticipants(new List <IFightParticipant>
            {
                StubFightParticipant.AlliedFightParticipant(), StubFightParticipant.HostileFightParticipant()
            });

            Assert.IsFalse(_fight.IsFinished());
        }
Esempio n. 2
0
        public void FightWithOneParticipantsEndsImmediately()
        {
            var participants = new List <IFightParticipant> {
                StubFightParticipant.AlliedFightParticipant()
            };

            _fight.AddParticipants(participants);

            Assert.IsTrue(_fight.IsFinished());
        }
Esempio n. 3
0
        public void FightWithMixedParticipantsWhereHostilesAreUnconsciousEnds()
        {
            var participants = new List <IFightParticipant>
            {
                StubFightParticipant.AlliedFightParticipant(), StubFightParticipant.HostileUnconsciousFightParticipant()
            };

            _fight.AddParticipants(participants);

            Assert.IsTrue(_fight.IsFinished());
        }