コード例 #1
0
ファイル: test_CreeCleaner.py プロジェクト: acqdiv/acqdiv
 def test_replace_star_non_star_morpheme(self):
     """Test handle_question_mark with a non star morpheme."""
     actual_output = CreeCleaner.replace_star('muw~du')
     desired_output = 'muw~du'
     self.assertEqual(actual_output, desired_output)
コード例 #2
0
ファイル: test_CreeCleaner.py プロジェクト: acqdiv/acqdiv
 def test_replace_star_empty_string(self):
     """Test handle_question_mark with an empty string."""
     actual_output = CreeCleaner.replace_star('')
     desired_output = ''
     self.assertEqual(actual_output, desired_output)
コード例 #3
0
ファイル: test_CreeCleaner.py プロジェクト: acqdiv/acqdiv
 def test_replace_star_case_star(self):
     """Test handle_question_mark with a star."""
     actual_output = CreeCleaner.replace_star('*')
     desired_output = '???'
     self.assertEqual(actual_output, desired_output)