Speak() public static method

public static Speak ( string input = null ) : string
input string
return string
Example #1
0
 public void No_name_given()
 {
     Assert.Equal("One for you, one for me.", TwoFer.Speak());
 }
Example #2
0
 public void Another_name_given()
 {
     Assert.Equal("One for Bob, one for me.", TwoFer.Speak("Bob"));
 }
Example #3
0
 public void Whitespace_name_given()
 {
     Assert.Equal("One for you, one for me.", TwoFer.Speak("   "));
 }
Example #4
0
 public void A_name_given()
 {
     Assert.Equal("One for Alice, one for me.", TwoFer.Speak("Alice"));
 }
Example #5
0
 public void Name_with_postfix_whitespace_given()
 {
     Assert.Equal("One for Bob, one for me.", TwoFer.Speak("Bob   "));
 }