public void LeetSpeakConverter_ReturnAtwo_two() { // any necessary logic to prep for test; instantiating new classes, etc. string arr = "sabecoLltTsS"; LeetSpeak testLeetSpeak = new LeetSpeak(); Assert.AreEqual("sab3c01l77zz", testLeetSpeak.LeetSpeakConverter(arr)); }
public void LeetSpeakConverter_ReturnNonAlphaInput_False() { // any necessary logic to prep for test; instantiating new classes, etc. string arr = "ab c"; LeetSpeak testLeetSpeak = new LeetSpeak(); Assert.AreEqual("ab c", testLeetSpeak.LeetSpeakConverter(arr)); }
public void LeetSpeakConverter_ReturnAZero_Zero() { // any necessary logic to prep for test; instantiating new classes, etc. string arr = "abeco"; LeetSpeak testLeetSpeak = new LeetSpeak(); Assert.AreEqual("ab3c0", testLeetSpeak.LeetSpeakConverter(arr)); }