Speak() public static method

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