diff --git a/src/World.Net.UnitTests/Countries/EquatorialGuineaTest.cs b/src/World.Net.UnitTests/Countries/EquatorialGuineaTest.cs index 22d1ce7..28e9c24 100644 --- a/src/World.Net.UnitTests/Countries/EquatorialGuineaTest.cs +++ b/src/World.Net.UnitTests/Countries/EquatorialGuineaTest.cs @@ -5,7 +5,7 @@ public class EquatorialGuineaTest : AssertCountryTestBase private const string EQUATORIALGUINEA_NAME = "EquatorialGuinea"; private const string EQUATORIALGUINEA_OFFICIAL_NAME = "Republic of Equatorial Guinea"; private const string EQUATORIALGUINEA_NATIVE_NAME = "República de Guinea Ecuatorial"; - private const string EQUATORIALGUINEA_CAPITAL = "Malabo"; + private const string EQUATORIALGUINEA_CAPITAL = "Ciudad de la Paz"; private const int EQUATORIALGUINEA_NUMERIC_CODE = 226; private const string EQUATORIALGUINEA_ISO2_CODE = "GQ"; private const string EQUATORIALGUINEA_ISO3_CODE = "GNQ"; diff --git a/src/World.Net.UnitTests/Countries/EthiopiaTest.cs b/src/World.Net.UnitTests/Countries/EthiopiaTest.cs index 45b6fc1..acd94c7 100644 --- a/src/World.Net.UnitTests/Countries/EthiopiaTest.cs +++ b/src/World.Net.UnitTests/Countries/EthiopiaTest.cs @@ -23,6 +23,7 @@ private static readonly (string Name, string IsoCode, string Type)[] ExpectedSta new("Oromia", "OR", "Region"), new("Sidama", "SI", "Region"), new("Somali", "SO", "Region"), + new("South West Ethiopia Peoples' Region", "SW", "Region"), new("Southern Nations, Nationalities, and Peoples' Region", "SN", "Region"), new("Tigray", "TI", "Region") }; diff --git a/src/World.Net.UnitTests/Countries/KazakhstanTest.cs b/src/World.Net.UnitTests/Countries/KazakhstanTest.cs index fd220af..43d9977 100644 --- a/src/World.Net.UnitTests/Countries/KazakhstanTest.cs +++ b/src/World.Net.UnitTests/Countries/KazakhstanTest.cs @@ -5,7 +5,7 @@ public sealed class KazakhstanTest : AssertCountryTestBase private const CountryIdentifier ExpectedId = CountryIdentifier.Kazakhstan; private const string ExpectedName = "Kazakhstan"; private const string ExpectedOfficialName = "Republic of Kazakhstan"; - private const string ExpectedNativeName = "?????????"; + private const string ExpectedNativeName = "Қазақстан"; private const string ExpectedCapital = "Astana"; private const int ExpectedNumericCode = 398; private const string ExpectedISO2Code = "KZ"; @@ -13,23 +13,26 @@ public sealed class KazakhstanTest : AssertCountryTestBase private static readonly string[] ExpectedCallingCode = ["+7"]; private static readonly (string Name, string IsoCode, string Type)[] ExpectedStates = [ - ("Akmola", "KZ-AKM", "Region"), - ("Aktobe", "KZ-AKT", "Region"), - ("Almaty", "KZ-ALM", "Region"), - ("Atyrau", "KZ-ATY", "Region"), - ("East Kazakhstan", "KZ-VOS", "Region"), - ("Jambyl", "KZ-ZHA", "Region"), - ("Karaganda", "KZ-KAR", "Region"), - ("Kostanay", "KZ-KUS", "Region"), - ("Kyzylorda", "KZ-KZY", "Region"), - ("Mangystau", "KZ-MAN", "Region"), - ("Pavlodar", "KZ-PAV", "Region"), - ("North Kazakhstan", "KZ-SEV", "Region"), - ("Turkistan", "KZ-TUR", "Region"), - ("West Kazakhstan", "KZ-ZAP", "Region"), - ("Nur-Sultan", "KZ-NUR", "City"), - ("Almaty City", "KZ-ALA", "City"), - ("Shymkent", "KZ-SHY", "City") + ("Abai", "KZ-10", "Region"), + ("Akmola", "KZ-11", "Region"), + ("Aktobe", "KZ-15", "Region"), + ("Almaty", "KZ-19", "Region"), + ("Atyrau", "KZ-23", "Region"), + ("East Kazakhstan", "KZ-63", "Region"), + ("Jambyl", "KZ-31", "Region"), + ("Jetisu", "KZ-33", "Region"), + ("Karaganda", "KZ-35", "Region"), + ("Kostanay", "KZ-39", "Region"), + ("Kyzylorda", "KZ-43", "Region"), + ("Mangystau", "KZ-47", "Region"), + ("Pavlodar", "KZ-55", "Region"), + ("North Kazakhstan", "KZ-59", "Region"), + ("Turkistan", "KZ-61", "Region"), + ("Ulytau", "KZ-62", "Region"), + ("West Kazakhstan", "KZ-27", "Region"), + ("Astana", "KZ-71", "City"), + ("Almaty City", "KZ-75", "City"), + ("Shymkent", "KZ-79", "City") ]; [Fact] diff --git a/src/World.Net.UnitTests/Countries/NorwayTest.cs b/src/World.Net.UnitTests/Countries/NorwayTest.cs index eff752c..d79fc56 100644 --- a/src/World.Net.UnitTests/Countries/NorwayTest.cs +++ b/src/World.Net.UnitTests/Countries/NorwayTest.cs @@ -14,17 +14,17 @@ public sealed class NorwayTest : AssertCountryTestBase private static readonly (string Name, string IsoCode, string Type)[] EXPECTED_STATES = [ - new("Agder", "NO-01", "County"), - new("Innlandet", "NO-02", "County"), - new("Møre og Romsdal", "NO-03", "County"), - new("Nordland", "NO-04", "County"), - new("Oslo", "NO-05", "County"), - new("Rogaland", "NO-06", "County"), - new("Troms og Finnmark", "NO-07", "County"), - new("Trøndelag", "NO-08", "County"), - new("Vestfold og Telemark", "NO-09", "County"), - new("Vestland", "NO-10", "County"), - new("Viken", "NO-11", "County") + new("Agder", "NO-42", "County"), + new("Innlandet", "NO-34", "County"), + new("Møre og Romsdal", "NO-15", "County"), + new("Nordland", "NO-18", "County"), + new("Oslo", "NO-03", "County"), + new("Rogaland", "NO-11", "County"), + new("Troms og Finnmark", "NO-54", "County"), + new("Trøndelag", "NO-50", "County"), + new("Vestfold og Telemark", "NO-38", "County"), + new("Vestland", "NO-46", "County"), + new("Viken", "NO-30", "County") ]; [Fact] diff --git a/src/World.Net/Countries/EquatorialGuinea.cs b/src/World.Net/Countries/EquatorialGuinea.cs index 1dede84..315ad8c 100644 --- a/src/World.Net/Countries/EquatorialGuinea.cs +++ b/src/World.Net/Countries/EquatorialGuinea.cs @@ -10,7 +10,7 @@ internal sealed class EquatorialGuinea : ICountry public string NativeName => "República de Guinea Ecuatorial"; - public string Capital => "Malabo"; + public string Capital => "Ciudad de la Paz"; public int NumericCode => 226; diff --git a/src/World.Net/Countries/Ethiopia.cs b/src/World.Net/Countries/Ethiopia.cs index 4c74fc8..3ebe607 100644 --- a/src/World.Net/Countries/Ethiopia.cs +++ b/src/World.Net/Countries/Ethiopia.cs @@ -32,6 +32,7 @@ internal sealed class Ethiopia : ICountry new("Oromia", "OR", "Region"), new("Sidama", "SI", "Region"), new("Somali", "SO", "Region"), + new("South West Ethiopia Peoples' Region", "SW", "Region"), new("Southern Nations, Nationalities, and Peoples' Region", "SN", "Region"), new("Tigray", "TI", "Region") ]; diff --git a/src/World.Net/Countries/Kazakhstan.cs b/src/World.Net/Countries/Kazakhstan.cs index 2fca4ee..f5ba4aa 100644 --- a/src/World.Net/Countries/Kazakhstan.cs +++ b/src/World.Net/Countries/Kazakhstan.cs @@ -12,7 +12,7 @@ internal sealed class Kazakhstan : ICountry public string OfficialName { get; } = "Republic of Kazakhstan"; /// - public string NativeName { get; } = "?????????"; + public string NativeName { get; } = "Қазақстан"; /// public string Capital { get; } = "Astana"; @@ -32,22 +32,25 @@ internal sealed class Kazakhstan : ICountry /// public IEnumerable States { get; } = [ - new("Akmola", "KZ-AKM", "Region"), - new("Aktobe", "KZ-AKT", "Region"), - new("Almaty", "KZ-ALM", "Region"), - new("Atyrau", "KZ-ATY", "Region"), - new("East Kazakhstan", "KZ-VOS", "Region"), - new("Jambyl", "KZ-ZHA", "Region"), - new("Karaganda", "KZ-KAR", "Region"), - new("Kostanay", "KZ-KUS", "Region"), - new("Kyzylorda", "KZ-KZY", "Region"), - new("Mangystau", "KZ-MAN", "Region"), - new("Pavlodar", "KZ-PAV", "Region"), - new("North Kazakhstan", "KZ-SEV", "Region"), - new("Turkistan", "KZ-TUR", "Region"), - new("West Kazakhstan", "KZ-ZAP", "Region"), - new("Nur-Sultan", "KZ-NUR", "City"), - new("Almaty City", "KZ-ALA", "City"), - new("Shymkent", "KZ-SHY", "City") + new("Abai", "KZ-10", "Region"), + new("Akmola", "KZ-11", "Region"), + new("Aktobe", "KZ-15", "Region"), + new("Almaty", "KZ-19", "Region"), + new("Atyrau", "KZ-23", "Region"), + new("East Kazakhstan", "KZ-63", "Region"), + new("Jambyl", "KZ-31", "Region"), + new("Jetisu", "KZ-33", "Region"), + new("Karaganda", "KZ-35", "Region"), + new("Kostanay", "KZ-39", "Region"), + new("Kyzylorda", "KZ-43", "Region"), + new("Mangystau", "KZ-47", "Region"), + new("Pavlodar", "KZ-55", "Region"), + new("North Kazakhstan", "KZ-59", "Region"), + new("Turkistan", "KZ-61", "Region"), + new("Ulytau", "KZ-62", "Region"), + new("West Kazakhstan", "KZ-27", "Region"), + new("Astana", "KZ-71", "City"), + new("Almaty City", "KZ-75", "City"), + new("Shymkent", "KZ-79", "City") ]; } diff --git a/src/World.Net/Countries/Norway.cs b/src/World.Net/Countries/Norway.cs index 5c5d510..1f0d9f3 100644 --- a/src/World.Net/Countries/Norway.cs +++ b/src/World.Net/Countries/Norway.cs @@ -32,17 +32,17 @@ internal sealed class Norway : ICountry // public IEnumerable States => [ - new("Agder", "NO-01", "County"), - new("Innlandet", "NO-02", "County"), - new("Møre og Romsdal", "NO-03", "County"), - new("Nordland", "NO-04", "County"), - new("Oslo", "NO-05", "County"), - new("Rogaland", "NO-06", "County"), - new("Troms og Finnmark", "NO-07", "County"), - new("Trøndelag", "NO-08", "County"), - new("Vestfold og Telemark", "NO-09", "County"), - new("Vestland", "NO-10", "County"), - new("Viken", "NO-11", "County") + new("Agder", "NO-42", "County"), + new("Innlandet", "NO-34", "County"), + new("Møre og Romsdal", "NO-15", "County"), + new("Nordland", "NO-18", "County"), + new("Oslo", "NO-03", "County"), + new("Rogaland", "NO-11", "County"), + new("Troms og Finnmark", "NO-54", "County"), + new("Trøndelag", "NO-50", "County"), + new("Vestfold og Telemark", "NO-38", "County"), + new("Vestland", "NO-46", "County"), + new("Viken", "NO-30", "County") ]; }