Beispiel #1
0
        public static void TestAkali(Champion akali)
        {
            Assert.AreEqual("Akali", akali.Id);
            Assert.AreEqual(84, akali.Key);
            Assert.AreEqual("Akali", akali.Name);

            Assert.AreEqual("http://ddragon.leagueoflegends.com/cdn/8.19.1/img/champion/Akali.png",
                            akali.GetIconUrl());

            //Skins
            Assert.AreEqual("Stinger Akali", akali.Skins[1].Name);
            Assert.AreEqual("http://ddragon.leagueoflegends.com/cdn/img/champion/loading/Akali_1.jpg",
                            akali.Skins[1].GetLoadingScreenUrl());
            Assert.AreEqual(true, akali.Skins[7].HasChromas);


            var blurb = akali.Blurb.StartsWith("Abandoning the Kinkou");

            Assert.IsTrue(blurb);

            Assert.AreEqual(1, akali.Tags.Length);
            Assert.AreEqual(Tag.Assassin, akali.Tags[0]);

            Assert.AreEqual(7, akali.Info.Difficulty);


            Assert.AreEqual(1.25, akali.Stats.SpellBlockPerLevel);
            Assert.AreEqual(125, akali.Stats.AttackRange);
        }
Beispiel #2
0
        private void TestAkaliJa(Champion akali)
        {
            Assert.AreEqual("Akali", akali.Id);
            Assert.AreEqual(84, akali.Key);
            Assert.AreEqual("アカリ", akali.Name);
            Assert.AreEqual("主なき暗殺者", akali.Title);

            Assert.AreEqual("http://ddragon.leagueoflegends.com/cdn/8.19.1/img/champion/Akali.png",
                            akali.GetIconUrl());

            //Skins
            Assert.AreEqual("ブラッドムーン アカリ", akali.Skins[5].Name);
            Assert.AreEqual("http://ddragon.leagueoflegends.com/cdn/img/champion/loading/Akali_1.jpg",
                            akali.Skins[1].GetLoadingScreenUrl());


            var blurb = akali.Blurb.StartsWith("「均衡の守人」であることをやめ、「影の拳」という立場も捨てたアカリ");

            Assert.IsTrue(blurb);
        }