public void FightWithTwoMixedParticipantsIsStarted() { _fight.AddParticipants(new List <IFightParticipant> { StubFightParticipant.AlliedFightParticipant(), StubFightParticipant.HostileFightParticipant() }); Assert.IsFalse(_fight.IsFinished()); }
public void FightWithOneParticipantsEndsImmediately() { var participants = new List <IFightParticipant> { StubFightParticipant.AlliedFightParticipant() }; _fight.AddParticipants(participants); Assert.IsTrue(_fight.IsFinished()); }
public void FightWithMixedParticipantsWhereHostilesAreUnconsciousEnds() { var participants = new List <IFightParticipant> { StubFightParticipant.AlliedFightParticipant(), StubFightParticipant.HostileUnconsciousFightParticipant() }; _fight.AddParticipants(participants); Assert.IsTrue(_fight.IsFinished()); }