Skip to content

Conversation

@ReaganDev
Copy link
Collaborator

No description provided.

@ReaganDev ReaganDev linked an issue Apr 22, 2025 that may be closed by this pull request
private const string DENMARK_ISO2_CODE = "DK";
private const string DENMARK_ISO3_CODE = "DNK";
private readonly string[] DENMARK_CALLING_CODE = ["+045"];

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No state type test

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resolved

Assert.Equal(DENMARK_NUMERIC_CODE, country.NumericCode);
Assert.Equal(DENMARK_ISO2_CODE, country.ISO2Code);
Assert.Equal(DENMARK_ISO3_CODE, country.ISO3Code);
Assert.Equal(DENMARK_CALLING_CODE, country.CallingCode);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No state type test

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resolved

private const string DJIBOUTI_ISO2_CODE = "DJ";
private const string DJIBOUTI_ISO3_CODE = "DJI";
private readonly string[] DJIBOUTI_CALLING_CODE = ["+253"];

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No state type test

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resolved

public string ISO3Code { get; } = "DNK";

///<inheritdoc/>
public string[] CallingCode { get; } = ["+045"];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+45 without the 0

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resolved

new("North Denmark", "DK-81", "Region"),
new("Southern Denmark", "DK-83", "Region"),
new("Zealand", "DK-85", "Region"),
];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

public IEnumerable States { get; } =
[
new("Central Denmark", "DK-82", "Region"),
new("Capital Region of Denmark", "DK-84", "Region"),
new("North Denmark", "DK-81", "Region"),
new("Southern Denmark", "DK-83", "Region"),
new("Zealand", "DK-85", "Region"),
];

Denmark isn't part of the list

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resolved

public string ISO3Code { get; } = "DMA";

///<inheritdoc/>
public string[] CallingCode { get; } = ["+1"];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use this +1-767

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resolved

@deanology deanology merged commit 55ebe0e into selfmadecode:main Apr 23, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add country details for Denmark Djibouti Dominica

2 participants