tracks/csharp/exercises/pig-latin/PigLatinTest.cs in trackler-2.2.1.40 vs tracks/csharp/exercises/pig-latin/PigLatinTest.cs in trackler-2.2.1.41
- old
+ new
@@ -1,6 +1,6 @@
-// This file was auto-generated based on version 1.0.0 of the canonical data.
+// This file was auto-generated based on version 1.1.0 of the canonical data.
using Xunit;
public class PigLatinTest
{
@@ -51,16 +51,10 @@
{
Assert.Equal("oalakay", PigLatin.Translate("koala"));
}
[Fact(Skip = "Remove to run test")]
- public void Word_beginning_with_y()
- {
- Assert.Equal("ellowyay", PigLatin.Translate("yellow"));
- }
-
- [Fact(Skip = "Remove to run test")]
public void Word_beginning_with_x()
{
Assert.Equal("enonxay", PigLatin.Translate("xenon"));
}
@@ -114,9 +108,27 @@
[Fact(Skip = "Remove to run test")]
public void Word_beginning_with_xr()
{
Assert.Equal("xrayay", PigLatin.Translate("xray"));
+ }
+
+ [Fact(Skip = "Remove to run test")]
+ public void Y_is_treated_like_a_consonant_at_the_beginning_of_a_word()
+ {
+ Assert.Equal("ellowyay", PigLatin.Translate("yellow"));
+ }
+
+ [Fact(Skip = "Remove to run test")]
+ public void Y_is_treated_like_a_vowel_at_the_end_of_a_consonant_cluster()
+ {
+ Assert.Equal("ythmrhay", PigLatin.Translate("rhythm"));
+ }
+
+ [Fact(Skip = "Remove to run test")]
+ public void Y_as_second_letter_in_two_letter_word()
+ {
+ Assert.Equal("ymay", PigLatin.Translate("my"));
}
[Fact(Skip = "Remove to run test")]
public void A_whole_phrase()
{
\ No newline at end of file