public void StormReplayAttributeEventsTest() { List <StormPlayer> players = _stormReplay.StormPlayers.ToList(); StormPlayer player = players[9]; Assert.AreEqual("5v5", _stormReplay.TeamSize); Assert.AreEqual(PlayerDifficulty.Elite, player.PlayerDifficulty); Assert.AreEqual(StormGameSpeed.Faster, _stormReplay.GameSpeed); Assert.AreEqual(StormGameMode.QuickMatch, _stormReplay.GameMode); Assert.AreEqual("Hanz", player.PlayerHero !.HeroAttributeId); Assert.AreEqual("Han2", player.PlayerLoadout.SkinAndSkinTintAttributeId); Assert.AreEqual("Arm2", player.PlayerLoadout.MountAndMountTintAttributeId); Assert.AreEqual("BNaf", player.PlayerLoadout.BannerAttributeId); Assert.AreEqual("SY96", player.PlayerLoadout.SprayAttributeId); Assert.AreEqual("HA01", player.PlayerLoadout.VoiceLineAttributeId); Assert.AreEqual("AHAN", player.PlayerLoadout.AnnouncerPackAttributeId); Assert.AreEqual(20, player.PlayerHero.HeroLevel); List <string?> ban0List = _stormReplay.GetTeamBans(StormTeam.Blue).ToList(); List <string?> ban1List = _stormReplay.GetTeamBans(StormTeam.Red).ToList(); Assert.AreEqual(string.Empty, ban0List[1]); Assert.AreEqual(string.Empty, ban1List[1]); }
public void StormReplayAttributeEventsTest() { List <StormPlayer> players = _stormReplay.StormPlayers.ToList(); StormPlayer player = players[9]; Assert.AreEqual("5v5", _stormReplay.TeamSize); Assert.AreEqual(PlayerDifficulty.Elite, player.PlayerDifficulty); Assert.AreEqual(StormGameSpeed.Faster, _stormReplay.GameSpeed); Assert.AreEqual(StormGameMode.Custom, _stormReplay.GameMode); Assert.AreEqual("Wiza", player.PlayerHero !.HeroAttributeId); Assert.AreEqual("WizI", player.PlayerLoadout.SkinAndSkinTintAttributeId); Assert.AreEqual("CLO0", player.PlayerLoadout.MountAndMountTintAttributeId); Assert.AreEqual("BN6d", player.PlayerLoadout.BannerAttributeId); Assert.AreEqual("SY81", player.PlayerLoadout.SprayAttributeId); Assert.AreEqual("WZ04", player.PlayerLoadout.VoiceLineAttributeId); Assert.AreEqual("AFIR", player.PlayerLoadout.AnnouncerPackAttributeId); Assert.AreEqual(20, player.PlayerHero.HeroLevel); List <string?> ban0List = _stormReplay.GetTeamBans(StormTeam.Blue).ToList(); List <string?> ban1List = _stormReplay.GetTeamBans(StormTeam.Red).ToList(); Assert.AreEqual("Diab", ban0List[1]); Assert.AreEqual("Tra0", ban1List[1]); }
public void StormReplayAttributeEventsTest() { List <StormPlayer> players = _stormReplay.StormPlayers.ToList(); StormPlayer player = players[9]; Assert.AreEqual("5v5", _stormReplay.TeamSize); Assert.AreEqual(PlayerDifficulty.Veteran, player.PlayerDifficulty); Assert.AreEqual(StormGameSpeed.Faster, _stormReplay.GameSpeed); Assert.AreEqual(StormGameMode.Cooperative, _stormReplay.GameMode); Assert.AreEqual(string.Empty, player.PlayerHero !.HeroAttributeId); Assert.AreEqual(string.Empty, player.PlayerLoadout.SkinAndSkinTintAttributeId); Assert.AreEqual(string.Empty, player.PlayerLoadout.MountAndMountTintAttributeId); Assert.AreEqual(string.Empty, player.PlayerLoadout.BannerAttributeId); Assert.AreEqual(string.Empty, player.PlayerLoadout.SprayAttributeId); Assert.AreEqual(string.Empty, player.PlayerLoadout.VoiceLineAttributeId); Assert.AreEqual(string.Empty, player.PlayerLoadout.AnnouncerPackAttributeId); Assert.AreEqual(1, player.PlayerHero.HeroLevel); List <string?> ban0List = _stormReplay.GetTeamBans(StormTeam.Blue).ToList(); List <string?> ban1List = _stormReplay.GetTeamBans(StormTeam.Red).ToList(); Assert.AreEqual(string.Empty, ban0List[1]); Assert.AreEqual(string.Empty, ban1List[1]); }
public void StormReplayAttributeEventsTest() { List <StormPlayer> players = _stormReplay.StormPlayers.ToList(); StormPlayer player = players[9]; Assert.AreEqual("5v5", _stormReplay.TeamSize); Assert.AreEqual(PlayerDifficulty.Elite, player.PlayerDifficulty); Assert.AreEqual(StormGameSpeed.Faster, _stormReplay.GameSpeed); Assert.AreEqual(StormGameMode.StormLeague, _stormReplay.GameMode); Assert.AreEqual("Rehg", player.PlayerHero !.HeroAttributeId); Assert.AreEqual("Reh8", player.PlayerLoadout.SkinAndSkinTintAttributeId); Assert.AreEqual(string.Empty, player.PlayerLoadout.MountAndMountTintAttributeId); Assert.AreEqual("BN03", player.PlayerLoadout.BannerAttributeId); Assert.AreEqual("SY3K", player.PlayerLoadout.SprayAttributeId); Assert.AreEqual("RE05", player.PlayerLoadout.VoiceLineAttributeId); Assert.AreEqual("DEA0", player.PlayerLoadout.AnnouncerPackAttributeId); Assert.AreEqual(20, player.PlayerHero.HeroLevel); List <string?> ban0List = _stormReplay.GetTeamBans(StormTeam.Blue).ToList(); List <string?> ban1List = _stormReplay.GetTeamBans(StormTeam.Red).ToList(); Assert.AreEqual("Garr", ban0List[1]); Assert.AreEqual("DEAT", ban1List[1]); }