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