Skip to content

Conversation

@ReaganDev
Copy link
Collaborator

…ria and Burkina Faso

Assert.Equal(existingCountryId, country.Id);
Assert.Equal(BRITISH_INDIAN_OCEAN_TERRITORY_NAME, country.Name);
Assert.NotNull(country.States);
Assert.Equal(BRITISH_INDIAN_OCEAN_TERRITORY_STATE_COUNT, country.States.Count());
Copy link
Owner

Choose a reason for hiding this comment

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

can we fix this warning
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead

https://stackoverflow.com/questions/46653557/whats-the-idiomatic-way-to-verify-collection-size-in-xunit

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Comment Treated

private const string BULGARIA_ISO2_CODE = "BG";
private const string BULGARIA_ISO3_CODE = "BGR";
private const string BULGARIA_CALLING_CODE = "+359";

Copy link
Owner

Choose a reason for hiding this comment

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

remove this extra space

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

comment treated

private const string BURKINA_FASO_ISO3_CODE = "BFA";
private const string BURKINA_FASO_CALLING_CODE = "+226";


Copy link
Owner

Choose a reason for hiding this comment

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

extra space, please remove

Copy link
Owner

Choose a reason for hiding this comment

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

every other thing looks good, nice work Reagan

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

comment treated



[Fact]
public void Brazil_HasExpectedInformation()
Copy link
Owner

Choose a reason for hiding this comment

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

Can we stick with GetCountry_ReturnsCorrectInformation_for_Brazil naming convention please

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

comment treated

@selfmadecode selfmadecode merged commit 0d23172 into selfmadecode:main Feb 22, 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 details for Brazil, British Indian Ocean Territory, Brunei, Bulgaria and Burkina Faso

2 participants