Exemple #1
0
        public void AbilityTalentLinkIdsTests()
        {
            Talent talent = HeroAbathur.GetTalent("AbathurVolatileMutation");

            Assert.IsTrue(talent.AbilityTalentLinkIds.Count == 2);
            Assert.IsTrue(talent.AbilityTalentLinkIds.Contains("AbathurUltimateEvolution"));
            Assert.IsTrue(talent.AbilityTalentLinkIds.Contains("AbathurEvolveMonstrosity"));
        }
Exemple #2
0
        public void CallDownMuleTests()
        {
            Talent talent = HeroAbathur.GetTalent("GenericTalentCalldownMULE");

            Assert.IsTrue(!string.IsNullOrEmpty(talent.Tooltip?.ShortTooltip?.RawDescription));
            Assert.IsTrue(!string.IsNullOrEmpty(talent.Tooltip?.FullTooltip?.RawDescription));
            Assert.IsTrue(!string.IsNullOrEmpty(talent.Name));
            Assert.IsTrue(!string.IsNullOrEmpty(talent.IconFileName));
        }
Exemple #3
0
        public void TalentTests()
        {
            Talent talent = HeroAbathur.GetTalent("AbathurMasteryPressurizedGlands");

            Assert.AreEqual(AbilityTypes.W, talent.AbilityTalentId.AbilityType);

            Talent talent2 = HeroAbathur.GetTalent("AbathurCombatStyleSurvivalInstincts");

            Assert.AreEqual("AbathurSpawnLocusts", talent2.AbilityTalentLinkIds.ToList()[0]);
        }