示例#1
0
 def test_replace_word_not_exist(self):
     self.assertEqual(
         replace_word_choice("Animals are cool.", "small", "tiny"),
         "Animals are cool.")
示例#2
0
 def test_replace_word_choice(self):
     self.assertEqual(
         replace_word_choice("Animals are cool.", "cool", "awesome"),
         "Animals are awesome.")