Skip to content

Commit

Permalink
test cases for single letter
Browse files Browse the repository at this point in the history
  • Loading branch information
neilboyd committed Feb 17, 2022
1 parent 375654b commit 11261c7
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/Humanizer.Tests.Shared/InflectorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ public IEnumerator<object[]> GetEnumerator()
yield return new object[] { "alumna", "alumnae" };
yield return new object[] { "alumnus", "alumni" };
yield return new object[] { "fungus", "fungi" };

yield return new object[] { "water", "water" };
yield return new object[] { "waters", "waters" };
yield return new object[] { "semen", "semen" };
Expand Down Expand Up @@ -377,11 +378,18 @@ public IEnumerator<object[]> GetEnumerator()
yield return new object[] { "hoe", "hoes" };
yield return new object[] { "toe", "toes" };
yield return new object[] { "woe", "woes" };
// Duplicated test case - Already added by Bas Jansen
// yield return new object[] { "potato", "potatoes" };

//Issue 1132
//Issue #1132
yield return new object[] { "metadata", "metadata" };

//Issue #1154
yield return new object[] { "a", "as" };
yield return new object[] { "A", "As" };
yield return new object[] { "s", "ss" };
yield return new object[] { "S", "Ss" };
yield return new object[] { "z", "zs" };
yield return new object[] { "Z", "Zs" };
yield return new object[] { "1", "1s" };
}

IEnumerator IEnumerable.GetEnumerator()
Expand Down

0 comments on commit 11261c7

Please sign in to comment.