2
2
3
3
from bob import response
4
4
5
- # Tests adapted from `problem-specifications//canonical-data.json` @ v1.4 .0
5
+ # Tests adapted from `problem-specifications//canonical-data.json` @ v1.6 .0
6
6
7
7
8
8
class BobTest (unittest .TestCase ):
@@ -27,17 +27,16 @@ def test_asking_gibberish(self):
27
27
self .assertEqual (response ("fffbbcbeab?" ), "Sure." )
28
28
29
29
def test_talking_forcefully (self ):
30
- self .assertEqual (response ("Let's go make out behind the gym !" ), "Whatever." )
30
+ self .assertEqual (response ("Hi there !" ), "Whatever." )
31
31
32
32
def test_using_acronyms_in_regular_speech (self ):
33
33
self .assertEqual (
34
- response ("It's OK if you don't want to go to the DMV ." ), "Whatever."
34
+ response ("It's OK if you don't want to go work for NASA ." ), "Whatever."
35
35
)
36
36
37
37
def test_forceful_question (self ):
38
38
self .assertEqual (
39
- response ("WHAT THE HELL WERE YOU THINKING?" ),
40
- "Calm down, I know what I'm doing!" ,
39
+ response ("WHAT'S GOING ON?" ), "Calm down, I know what I'm doing!"
41
40
)
42
41
43
42
def test_shouting_numbers (self ):
@@ -56,7 +55,7 @@ def test_shouting_with_special_characters(self):
56
55
)
57
56
58
57
def test_shouting_with_no_exclamation_mark (self ):
59
- self .assertEqual (response ("I HATE THE DMV " ), "Whoa, chill out!" )
58
+ self .assertEqual (response ("I HATE THE DENTIST " ), "Whoa, chill out!" )
60
59
61
60
def test_statement_containing_question_mark (self ):
62
61
self .assertEqual (response ("Ending with ? means a question." ), "Whatever." )
0 commit comments