Beispiel #1
0
        public void GetEntireLeaguesAsync_BySummoner_Test()
        {
            var leagues = api.GetEntireLeaguesAsync(Region.euw, summonerIds);

            Assert.IsNotNull(leagues.Result);
            Assert.AreEqual(summonerIds.Distinct().Count() - 4, leagues.Result.Count);
        }
Beispiel #2
0
        public void GetEntireLeaguesAsync_BySummoner_Test()
        {
            var leagues = api.GetEntireLeaguesAsync(Region.euw, new List <int> {
                id, id2
            });

            Assert.IsNotNull(leagues.Result[id]);
            Assert.IsNotNull(leagues.Result[id2]);
            Assert.IsTrue(leagues.Result[id].Count > 0);
            Assert.IsTrue(leagues.Result[id2].Count > 0);
        }