RiotNet.Test / RiotClientTests.cs / GetServerName_ShouldBeDefinedForAllRegions() tests for platformId. It should test for serverName.
example correct implementation (too lazy for pull request XD, and idk if u even care about this anymore):
[Test]
public void GetServerName_ShouldBeDefinedForAllRegions()
{
foreach (string server in from Region region in Enum.GetValues(typeof(Region)) select RiotClient.GetServerName(region))
{
Assert.That(server, Is.Not.Null.And.Not.Empty);
}
}
RiotNet.Test / RiotClientTests.cs / GetServerName_ShouldBeDefinedForAllRegions() tests for platformId. It should test for serverName. example correct implementation (too lazy for pull request XD, and idk if u even care about this anymore):