translatePigLatin("california")
should return "aliforniacay".
testString: assert.deepEqual(translatePigLatin("california"), "aliforniacay");
- text: translatePigLatin("paragraphs")
should return "aragraphspay".
testString: assert.deepEqual(translatePigLatin("paragraphs"), "aragraphspay");
- text: translatePigLatin("glove")
should return "oveglay".
testString: assert.deepEqual(translatePigLatin("glove"), "oveglay");
- text: translatePigLatin("algorithm")
should return "algorithmway".
testString: assert.deepEqual(translatePigLatin("algorithm"), "algorithmway");
- text: translatePigLatin("eight")
should return "eightway".
testString: assert.deepEqual(translatePigLatin("eight"), "eightway");
- text: Should handle words where the first vowel comes in the middle of the word. translatePigLatin("schwartz")
should return "artzschway".
testString: assert.deepEqual(translatePigLatin("schwartz"), "artzschway");
- text: Should handle words without vowels. translatePigLatin("rhythm")
should return "rhythmay".
testString: assert.deepEqual(translatePigLatin("rhythm"), "rhythmay");
```