forked from selfmadecode/world.net
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMontserratTest.cs
More file actions
36 lines (32 loc) · 1.12 KB
/
Copy pathMontserratTest.cs
File metadata and controls
36 lines (32 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
namespace World.Net.UnitTests.Countries;
public sealed class MontserratTest : AssertCountryTestBase
{
private const string COUNTRY_NAME = "Montserrat";
private const string OFFICIAL_NAME = "Montserrat";
private const string NATIVE_NAME = "Montserrat";
private const string CAPITAL = "Plymouth";
private const string ISO2_CODE = "MS";
private const string ISO3_CODE = "MSR";
private const int NUMERIC_CODE = 500;
private readonly string[] CALLING_CODE = ["+1-664"];
private const CountryIdentifier EXPECTEDID = CountryIdentifier.Montserrat;
private static readonly (string Name, string IsoCode, string Type)[] EXPECTED_STATES = [];
[Fact]
public void GetCountry_ReturnsCorrectInformation_ForMontserrat()
{
var country = CountryProvider.GetCountry(EXPECTEDID);
AssertCorrectInformation(
country,
EXPECTEDID,
COUNTRY_NAME,
OFFICIAL_NAME,
NATIVE_NAME,
CAPITAL,
NUMERIC_CODE,
ISO2_CODE,
ISO3_CODE,
CALLING_CODE,
EXPECTED_STATES
);
}
}