Exemplo n.º 1
0
 public void Statement_containing_question_mark()
 {
     Assert.Equal("Whatever.", Bob.Hey("Ending with ? means a question."));
 }
Exemplo n.º 2
0
 public void Stating_something()
 {
     Assert.Equal("Whatever.", Bob.Hey("Tom-ay-to, tom-aaaah-to."));
 }
Exemplo n.º 3
0
 public void Shouting_with_no_exclamation_mark()
 {
     Assert.Equal("Whoa, chill out!", Bob.Hey("I HATE YOU"));
 }
Exemplo n.º 4
0
 public void Question_with_only_numbers()
 {
     Assert.Equal("Sure.", Bob.Hey("4?"));
 }
Exemplo n.º 5
0
 public void Shouting_with_special_characters()
 {
     Assert.Equal("Whoa, chill out!", Bob.Hey("ZOMG THE %^*@#$(*^ ZOMBIES ARE COMING!!11!!1!"));
 }
Exemplo n.º 6
0
 public void Multiple_line_question()
 {
     Assert.Equal("Whatever.", Bob.Hey("Does this cryogenic chamber make me look fat?\nno"));
 }
Exemplo n.º 7
0
 public void Only_numbers()
 {
     Assert.Equal("Whatever.", Bob.Hey("1, 2, 3"));
 }
Exemplo n.º 8
0
 public void Using_acronyms_in_regular_search()
 {
     Assert.Equal("Whatever.", Bob.Hey("It's OK if you don't want to go to the DMV."));
 }
Exemplo n.º 9
0
 public void Forceful_questions()
 {
     Assert.Equal("Whoa, chill out!", Bob.Hey("WHAT THE HELL WERE YOU THINKING?"));
 }
Exemplo n.º 10
0
 public void Asking_a_numeric_question()
 {
     Assert.Equal("Sure.", Bob.Hey("You are, what, like 15?"));
 }
Exemplo n.º 11
0
 public void Talking_forcefully()
 {
     Assert.Equal("Whatever.", Bob.Hey("Let's go make out behind the gym!"));
 }
Exemplo n.º 12
0
 public void Asking_a_question_with_a_trailing_space()
 {
     Assert.Equal("Sure.", Bob.Hey("Do I like my  spacebar  too much?  "));
 }
Exemplo n.º 13
0
 public void Asking_a_question()
 {
     Assert.Equal("Sure.", Bob.Hey("Does this cryogenic chamber make me look fat?"));
 }
Exemplo n.º 14
0
 public void Shouting()
 {
     Assert.Equal("Whoa, chill out!", Bob.Hey("WATCH OUT"));
 }
Exemplo n.º 15
0
 public void Prattling_on()
 {
     Assert.Equal("Sure.", Bob.Hey("Wait! Hang on. Are you going to be OK?"));
 }
Exemplo n.º 16
0
 public void Shouting_numbers()
 {
     Assert.Equal("Whoa, chill out!", Bob.Hey("1, 2, 3 GO!"));
 }
Exemplo n.º 17
0
 public void Silence()
 {
     Assert.Equal("Fine. Be that way!", Bob.Hey(""));
 }
Exemplo n.º 18
0
 public void Prolonged_silence()
 {
     Assert.Equal("Fine. Be that way!", Bob.Hey("    "));
 }