Ejemplo n.º 1
0
        public async void RetrieveChampionsTest()
        {
            List <Champion> champions = await creepScore.RetrieveChampions(CreepScore.Region.NA);

            Champion karma = null;

            foreach (Champion champion in champions)
            {
                if (champion.id == 43)
                {
                    karma = champion;
                    break;
                }
            }

            Assert.NotNull(karma);
            Assert.True(karma.active);
            Assert.Equal(126, champions.Count);
        }