public void TargetUnithWithMaxHealth_WhenThereAreMoreThanOneUnit()
        {
            var marine = new Marine("Pesho");

            var parasite = new Parasite("Boris");
            var queen    = new Queen("Tereza");

            var parasiteInfo = new UnitInfo(parasite);
            var queenInfo    = new UnitInfo(queen);
            var marineInfo   = new UnitInfo(marine);

            List <UnitInfo> units = new List <UnitInfo>();

            units.Add(parasiteInfo);
            units.Add(queenInfo);

            var result   = marine.DecideInteraction(units);
            var expected = new Interaction(marineInfo, queenInfo, InteractionType.Attack);

            Assert.AreEqual(expected.TargetUnit, result.TargetUnit);
        }
        public void ReturnAttackInteractionType_WhenInteractWithAttackableUnit()
        {
            var marine = new Marine("Pesho");

            var parasite = new Parasite("Boris");
            var queen    = new Queen("Tereza");

            var parasiteInfo = new UnitInfo(parasite);
            var queenInfo    = new UnitInfo(queen);
            var marineInfo   = new UnitInfo(marine);

            List <UnitInfo> units = new List <UnitInfo>();

            units.Add(parasiteInfo);
            units.Add(queenInfo);

            var result   = marine.DecideInteraction(units);
            var expected = new Interaction(marineInfo, queenInfo, InteractionType.Attack);

            Assert.AreEqual(expected.InteractionType, result.InteractionType);
        }