Exemplo n.º 1
0
 def test_for_spaces(self):
     string = " edited"
     self.assertFalse(front_again(string))
Exemplo n.º 2
0
 def test_for_special_chars(self):
     string = "@hello@h"
     self.assertTrue(front_again(string))
Exemplo n.º 3
0
 def test_for_transposed_end(self):
     string = "deed"
     self.assertFalse(front_again(string))
Exemplo n.º 4
0
 def test_for_matching_ends(self):
     string = "edited"
     self.assertTrue(front_again(string))
Exemplo n.º 5
0
 def test_for_two_letters(self):
     string = "hi"
     self.assertTrue(front_again(string))
Exemplo n.º 6
0
 def test_for_single_letter(self):
     string = "h"
     self.assertTrue(front_again(string))
Exemplo n.º 7
0
 def test_for_empty_string(self):
     string = ""
     self.assertTrue(front_again(string))