public void RegionFetch() { string tokyo = GeoLocation.GetRegionName("en", 1, 2); Assert.AreEqual("Tokyo", tokyo); string bermuda = GeoLocation.GetRegionName(LanguageID.Korean, 186, 1); Assert.AreEqual("버뮤다", bermuda); }
public void ReturnsCorrectRegionNameByLanguageId(LanguageID languageId, int country, int region, string expectedName) { GeoLocation.GetRegionName(languageId, country, region).Should().Be(expectedName); }