public void GenderShouldBeRecognizedCorrectly_ForNamesInExceptionList() { var nh = new PolishNameFlectionHelper(); Assert.Equal(Gender.Female, nh.RecognizeGender("Beatrycze")); Assert.Equal(Gender.Male, nh.RecognizeGender("Barnaba")); Assert.Equal(Gender.Male, nh.RecognizeGender("Kuba")); Assert.Equal(Gender.Male, nh.RecognizeGender("Bonawentura")); Assert.Equal(Gender.Male, nh.RecognizeGender("Kosma")); }
public void GenderShouldBeRecognizedCorrectly_ForRegularMaleNames(string firstName) { var nh = new PolishNameFlectionHelper(); Assert.Equal(Gender.Male, nh.RecognizeGender(firstName)); }