Beispiel #1
0
 def test_lower(self):
     assert "hello there bob" == reverse.reverse_sentence("bob there hello")
Beispiel #2
0
 def test_punct(self):
     self.assertEqual("HELLO THERE BOB!!", reverse.reverse_sentence("BOB!! THERE HELLO"))
Beispiel #3
0
 def test_upper(self):
     assert "HELLO THERE BOB" == reverse.reverse_sentence("BOB THERE HELLO")
Beispiel #4
0
 def test_single(self):
     self.assertEqual("HELLO", reverse.reverse_sentence("HELLO"))
Beispiel #5
0
 def test_camel(self):
     self.assertEqual("Hello There Bob", reverse.reverse_sentence("Bob There Hello"))
Beispiel #6
0
 def test_lower(self):
     self.assertEqual("hello there bob", reverse.reverse_sentence("bob there hello"))
Beispiel #7
0
 def test_upper(self):
     self.assertEqual("HELLO THERE BOB", reverse.reverse_sentence("BOB THERE HELLO"))
Beispiel #8
0
 def test_punct(self):
     assert "HELLO THERE BOB!!" == reverse.reverse_sentence("BOB!! THERE HELLO")
Beispiel #9
0
 def test_camel(self):
     assert "Hello There Bob" == reverse.reverse_sentence("Bob There Hello")
Beispiel #10
0
 def test_single(self):
     assert "HELLO" == reverse.reverse_sentence("HELLO")