Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add feminine gender for french ordinal words #203

Merged
merged 2 commits into from
Apr 13, 2014
Merged

Add feminine gender for french ordinal words #203

merged 2 commits into from
Apr 13, 2014

Conversation

Tradioyes
Copy link
Contributor

Add feminine gender for french ordinal words + test

Add feminine gender for french ordinal words + test
@Tradioyes
Copy link
Contributor Author

"première" (first) is the only ordinal word genderized in french.

@@ -107,5 +107,13 @@ public void ToOrdinalWords(int number, string words)
{
Assert.Equal(words, number.ToOrdinalWords());
}

[Theory]
[InlineData(1, "première", GrammaticalGender.Feminine)]
Copy link
Member

Choose a reason for hiding this comment

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

I think we need a few more test cases: a test with 2 showing that only 1 causes the gender to take effect and a couple of tests with other numbers showing they're not impacted with gender.

@MehdiK
Copy link
Member

MehdiK commented Apr 13, 2014

Please add the tests and add your PR to release notes.

Rebase if needed. Thanks.

@Tradioyes
Copy link
Contributor Author

Done

MehdiK added a commit that referenced this pull request Apr 13, 2014
Add feminine gender for french ordinal words
@MehdiK MehdiK merged commit e1902f9 into Humanizr:master Apr 13, 2014
@Tradioyes Tradioyes deleted the fr-ToOrdinalWordsGender branch April 13, 2014 12:20
@MehdiK
Copy link
Member

MehdiK commented Apr 14, 2014

This is now on NuGet as v1.22.1. Thanks for the contribution.

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.

None yet

2 participants