示例#1
0
 public void PigItTest()
 {
     Assert.AreEqual("elloHay orldWay !", SimplePigLatin.PigIt("Hello World !"));     // elloHay orldWay !
     Assert.AreEqual("igPay atinlay siay oolcay", SimplePigLatin.PigIt("Pig latin is cool"));
     Assert.AreEqual("hisTay siay ymay tringsay", SimplePigLatin.PigIt("This is my string"));
 }
 public void KataTests()
 {
     Assert.AreEqual("igPay atinlay siay oolcay", _sp.PigIt("Pig latin is cool"));
     Assert.AreEqual("hisTay siay ymay tringsay", _sp.PigIt("This is my string"));
 }
示例#3
0
 public void ValidTestOne()
 {
     Assert.AreEqual("igPay atinlay siay oolcay", SimplePigLatin.PigIt("Pig latin is cool"));
     Assert.AreEqual("hisTay siay ymay tringsay", SimplePigLatin.PigIt("This is my string"));
 }