Пример #1
0
 public void Word_beginning_with_sch()
 {
     Assert.Equal("oolschay", PigLatin.Translate("school"));
 }
Пример #2
0
 public void Word_beginning_with_x()
 {
     Assert.Equal("enonxay", PigLatin.Translate("xenon"));
 }
Пример #3
0
 public void Word_beginning_with_ch()
 {
     Assert.Equal("airchay", PigLatin.Translate("chair"));
 }
Пример #4
0
 public void Word_beginning_with_u()
 {
     Assert.Equal("underay", PigLatin.Translate("under"));
 }
Пример #5
0
 public void Word_beginning_with_p()
 {
     Assert.Equal("igpay", PigLatin.Translate("pig"));
 }
Пример #6
0
 public void Word_beginning_with_e()
 {
     Assert.Equal("earay", PigLatin.Translate("ear"));
 }
Пример #7
0
 public void Word_beginning_with_i()
 {
     Assert.Equal("iglooay", PigLatin.Translate("igloo"));
 }
Пример #8
0
 public void Th_is_treated_like_a_single_consonant()
 {
     Assert.That(PigLatin.Translate("therapy"), Is.EqualTo("erapythay"));
 }
Пример #9
0
 public void Thr_is_treated_like_a_single_consonant()
 {
     Assert.That(PigLatin.Translate("thrush"), Is.EqualTo("ushthray"));
 }
Пример #10
0
 public void Qu_is_treated_like_a_single_consonant()
 {
     Assert.That(PigLatin.Translate("queen"), Is.EqualTo("eenquay"));
 }
Пример #11
0
 public void Qu_and_a_single_preceding_consonant_are_treated_like_a_single_consonant()
 {
     Assert.That(PigLatin.Translate("square"), Is.EqualTo("aresquay"));
 }
Пример #12
0
 public void Ch_is_treated_like_a_single_consonant()
 {
     Assert.That(PigLatin.Translate("chair"), Is.EqualTo("airchay"));
 }
Пример #13
0
 public string First_letter_and_ay_are_moved_to_the_end_of_words_that_start_with_consonants(string word)
 {
     return(PigLatin.Translate(word));
 }
Пример #14
0
 public string Ay_is_added_to_words_that_start_with_vowels(string word)
 {
     return(PigLatin.Translate(word));
 }
Пример #15
0
 public void Y_is_treated_like_a_vowel_at_the_end_of_a_consonant_cluster()
 {
     Assert.Equal("ythmrhay", PigLatin.Translate("rhythm"));
 }
Пример #16
0
 public void Sch_is_treated_like_a_single_consonant()
 {
     Assert.That(PigLatin.Translate("school"), Is.EqualTo("oolschay"));
 }
Пример #17
0
 public void Y_as_second_letter_in_two_letter_word()
 {
     Assert.Equal("ymay", PigLatin.Translate("my"));
 }
Пример #18
0
 public void Yt_is_treated_like_a_single_vowel()
 {
     Assert.That(PigLatin.Translate("yttria"), Is.EqualTo("yttriaay"));
 }
Пример #19
0
 public void A_whole_phrase()
 {
     Assert.Equal("ickquay astfay unray", PigLatin.Translate("quick fast run"));
 }
Пример #20
0
 public void Xr_is_treated_like_a_single_vowel()
 {
     Assert.That(PigLatin.Translate("xray"), Is.EqualTo("xrayay"));
 }
Пример #21
0
 public void Word_beginning_with_o()
 {
     Assert.Equal("objectay", PigLatin.Translate("object"));
 }
Пример #22
0
 public void Phrases_are_translated()
 {
     Assert.That(PigLatin.Translate("quick fast run"), Is.EqualTo("ickquay astfay unray"));
 }
Пример #23
0
 public void Word_beginning_with_a_vowel_and_followed_by_a_qu()
 {
     Assert.Equal("equalay", PigLatin.Translate("equal"));
 }
Пример #24
0
 public void Word_beginning_with_yt()
 {
     Assert.Equal("yttriaay", PigLatin.Translate("yttria"));
 }
Пример #25
0
 public void Word_beginning_with_k()
 {
     Assert.Equal("oalakay", PigLatin.Translate("koala"));
 }
Пример #26
0
 public void Word_beginning_with_xr()
 {
     Assert.Equal("xrayay", PigLatin.Translate("xray"));
 }
Пример #27
0
 public void Word_beginning_with_q_without_a_following_u()
 {
     Assert.Equal("atqay", PigLatin.Translate("qat"));
 }
Пример #28
0
 public void Y_is_treated_like_a_consonant_at_the_beginning_of_a_word()
 {
     Assert.Equal("ellowyay", PigLatin.Translate("yellow"));
 }
Пример #29
0
 public void Word_beginning_with_a()
 {
     Assert.Equal("appleay", PigLatin.Translate("apple"));
 }
Пример #30
0
 public void Word_beginning_with_thr()
 {
     Assert.Equal("ushthray", PigLatin.Translate("thrush"));
 }