public void IsLeetspeak_ForStoZ_true() { string phrase = "3p1c0duz"; Leetspeak testLeetspeak = new Leetspeak(); Assert.Equal(phrase, testLeetspeak.IsLeetspeak("Epicodus")); }
public HomeModule() { Get["/"] = _ => { return(View["index.cshtml"]); }; Get["/Leetspeak"] = _ => { Leetspeak newPhrase = new Leetspeak( Request.Query["phrase"]); return(View["leetspeak.cshtml", newPhrase]); }; }