public static Speak ( string input = null ) : string | ||
input | string | |
return | string |
public void No_name_given() { Assert.Equal("One for you, one for me.", TwoFer.Speak()); }
public void Another_name_given() { Assert.Equal("One for Bob, one for me.", TwoFer.Speak("Bob")); }
public void Whitespace_name_given() { Assert.Equal("One for you, one for me.", TwoFer.Speak(" ")); }
public void A_name_given() { Assert.Equal("One for Alice, one for me.", TwoFer.Speak("Alice")); }
public void Name_with_postfix_whitespace_given() { Assert.Equal("One for Bob, one for me.", TwoFer.Speak("Bob ")); }