def test_sentence(self): self.assertEqual(reverse_str('This is a useful instance ' 'of Test-Driven Development.'), '.tnempoleveD nevirD-tseT fo ecnatsni lufesu ' 'a si sihT')
def test_empty(self): self.assertEqual(reverse_str(''), '')
def test_awesome(self): self.assertEqual(reverse_str('awesome'), 'emosewa')
def test_race_car(self): self.assertEqual(reverse_str('race car'), 'rac ecar')
def test_single(self): self.assertEqual(reverse_str('q'), 'q')
def test_sentence(self): self.assertEqual( reverse_str('This is a useful instance ' 'of Test-Driven Development.'), '.tnempoleveD nevirD-tseT fo ecnatsni lufesu ' 'a si sihT')
def test_busters(self): self.assertEqual(reverse_str('busters'), 'sretsub')
def test_reverse_sentence(): assert reverse.reverse_str('this is a test') == 'tset a si siht'
def test_reverse_string(): assert reverse.reverse_str('brian') == 'nairb'