Beispiel #1
0
 public async Task Get_Simple_Guild_Immortality_From_Skullcrusher()
 {
     _guild = await _client.GetGuildAsync("skullcrusher", "immortality", GuildOptions.GetEverything);
     Assert.IsTrue(_guild.Realm.Equals("skullcrusher", StringComparison.InvariantCultureIgnoreCase));
     Assert.AreEqual(UnitSide.ALLIANCE, _guild.Side);
     Assert.IsTrue(_guild.Members.Any());
 }
Beispiel #2
0
        public async Task Get_Valid_Night_Elf_Member_From_Immortality_Guild()
        {
            _guild = await _client.GetGuildAsync("skullcrusher", "immortality", GuildOptions.GetEverything);
            var guildMember = _guild.Members.FirstOrDefault(m => m.Character.Name.Equals("fleas", StringComparison.InvariantCultureIgnoreCase));

            Assert.IsTrue(guildMember.Character.Name.Equals("fleas", StringComparison.InvariantCultureIgnoreCase));

            Assert.AreEqual(90, guildMember.Character.Level);
            Assert.AreEqual(CharacterClass.DRUID, guildMember.Character.@Class);
            Assert.AreEqual(CharacterRace.NIGHT_ELF, guildMember.Character.Race);
            Assert.AreEqual(CharacterGender.MALE, guildMember.Character.Gender);
        }
Beispiel #3
0
        public async Task Get_Valid_Human_Member_From_Immortality_Guild()
        {
            _guild = await _client.GetGuildAsync("skullcrusher", "immortality", GuildOptions.GetEverything);
            var guildMember = _guild.Members.FirstOrDefault(m => m.Character.Name.Equals("briandek", StringComparison.InvariantCultureIgnoreCase));
            Assert.IsTrue(guildMember.Character.Name.Equals("briandek", StringComparison.InvariantCultureIgnoreCase));

            Assert.AreEqual(90, guildMember.Character.Level);
            Assert.AreEqual(CharacterClass.WARRIOR, guildMember.Character.@Class);
            Assert.AreEqual(CharacterRace.HUMAN, guildMember.Character.Race);
            Assert.AreEqual(CharacterGender.MALE, guildMember.Character.Gender);

            Assert.AreEqual(7575, guildMember.Character.AchievementPoints);
        }