Example #1
0
File: tests.py Project: hmonika/A
    def test_string(self):
		result = stringReverse('today is my birthday')
		assert "birthday my is today" == result
		assert isinstance(result,str)
		print "Test case 1 executed fine"
Example #2
0
File: tests.py Project: hmonika/A
 def test_string_punctuation(self):
     result = stringReverse("today's is my b'day")
     assert "b'day my is today's" == result
     assert isinstance(result,str)
     print "Test case 2 executed fine"
Example #3
0
File: tests.py Project: hmonika/A
 def test_single_word(self):
     result = stringReverse("show")
     assert "show" == result
     assert isinstance(result,str)
     print "Test case 3 executed fine"