tracks/scala/exercises/pig-latin/src/test/scala/PigLatinTest.scala in trackler-2.2.1.110 vs tracks/scala/exercises/pig-latin/src/test/scala/PigLatinTest.scala in trackler-2.2.1.111

- old
+ new

@@ -1,114 +1,114 @@ import org.scalatest.{Matchers, FunSuite} -/** @version 1.1.0 */ +/** @version 1.2.0 */ class PigLatinTest extends FunSuite with Matchers { test("word beginning with a") { - PigLatin.translate("apple") should be ("appleay") + PigLatin.translate("apple") should be("appleay") } test("word beginning with e") { pending - PigLatin.translate("ear") should be ("earay") + PigLatin.translate("ear") should be("earay") } test("word beginning with i") { pending - PigLatin.translate("igloo") should be ("iglooay") + PigLatin.translate("igloo") should be("iglooay") } test("word beginning with o") { pending - PigLatin.translate("object") should be ("objectay") + PigLatin.translate("object") should be("objectay") } test("word beginning with u") { pending - PigLatin.translate("under") should be ("underay") + PigLatin.translate("under") should be("underay") } test("word beginning with a vowel and followed by a qu") { pending - PigLatin.translate("equal") should be ("equalay") + PigLatin.translate("equal") should be("equalay") } test("word beginning with p") { pending - PigLatin.translate("pig") should be ("igpay") + PigLatin.translate("pig") should be("igpay") } test("word beginning with k") { pending - PigLatin.translate("koala") should be ("oalakay") + PigLatin.translate("koala") should be("oalakay") } test("word beginning with x") { pending - PigLatin.translate("xenon") should be ("enonxay") + PigLatin.translate("xenon") should be("enonxay") } test("word beginning with q without a following u") { pending - PigLatin.translate("qat") should be ("atqay") + PigLatin.translate("qat") should be("atqay") } test("word beginning with ch") { pending - PigLatin.translate("chair") should be ("airchay") + PigLatin.translate("chair") should be("airchay") } test("word beginning with qu") { pending - PigLatin.translate("queen") should be ("eenquay") + PigLatin.translate("queen") should be("eenquay") } test("word beginning with qu and a preceding consonant") { pending - PigLatin.translate("square") should be ("aresquay") + PigLatin.translate("square") should be("aresquay") } test("word beginning with th") { pending - PigLatin.translate("therapy") should be ("erapythay") + PigLatin.translate("therapy") should be("erapythay") } test("word beginning with thr") { pending - PigLatin.translate("thrush") should be ("ushthray") + PigLatin.translate("thrush") should be("ushthray") } test("word beginning with sch") { pending - PigLatin.translate("school") should be ("oolschay") + PigLatin.translate("school") should be("oolschay") } test("word beginning with yt") { pending - PigLatin.translate("yttria") should be ("yttriaay") + PigLatin.translate("yttria") should be("yttriaay") } test("word beginning with xr") { pending - PigLatin.translate("xray") should be ("xrayay") + PigLatin.translate("xray") should be("xrayay") } test("y is treated like a consonant at the beginning of a word") { pending - PigLatin.translate("yellow") should be ("ellowyay") + PigLatin.translate("yellow") should be("ellowyay") } test("y is treated like a vowel at the end of a consonant cluster") { pending - PigLatin.translate("rhythm") should be ("ythmrhay") + PigLatin.translate("rhythm") should be("ythmrhay") } test("y as second letter in two letter word") { pending - PigLatin.translate("my") should be ("ymay") + PigLatin.translate("my") should be("ymay") } test("a whole phrase") { pending - PigLatin.translate("quick fast run") should be ("ickquay astfay unray") + PigLatin.translate("quick fast run") should be("ickquay astfay unray") } -} \ No newline at end of file +}