public static void Main() { Speak newSpeak = new Speak(); Console.WriteLine("Enter a word or phrase, and I will translate it into Leetspeak: "); string userInput = Console.ReadLine(); newSpeak.Translate(userInput); }
public void Translate_ChangeOToZero_true() { Speak testPhrase = new Speak() {}; string actualPhrase = "0rang"; Assert.Equal(actualPhrase, testPhrase.Translate("orang")); }
public void Translate_ChangeStoZ_true() { Speak testPhrase = new Speak() {}; string actualPhrase = "Suzp3ct"; Assert.Equal(actualPhrase, testPhrase.Translate("Suspect")); }
public void Translate_ChangeCapitalIToOne_true() { Speak testPhrase = new Speak() {}; string actualPhrase = "1r0n"; Assert.Equal(actualPhrase, testPhrase.Translate("Iron")); }