コード例 #1
0
ファイル: token.py プロジェクト: quatre/sulci
 def test_comma_is_not_strong_punctuation(self):
     token = Token("xxx", ",")
     self.assertFalse(token.is_strong_punctuation())
コード例 #2
0
ファイル: token.py プロジェクト: quatre/sulci
 def test_question_mark_is_strong_punctuation(self):
     token = Token("xxx", "?")
     self.assertTrue(token.is_strong_punctuation())
コード例 #3
0
ファイル: token.py プロジェクト: quatre/sulci
 def test_exclamation_point_is_strong_punctuation(self):
     token = Token("xxx", "!")
     self.assertTrue(token.is_strong_punctuation())
コード例 #4
0
ファイル: token.py プロジェクト: quatre/sulci
 def test_period_is_strong_punctuation(self):
     token = Token("xxx", ".")
     self.assertTrue(token.is_strong_punctuation())
コード例 #5
0
 def test_comma_is_not_strong_punctuation(self):
     token = Token("xxx", ",")
     self.assertFalse(token.is_strong_punctuation())
コード例 #6
0
 def test_exclamation_point_is_strong_punctuation(self):
     token = Token("xxx", "!")
     self.assertTrue(token.is_strong_punctuation())
コード例 #7
0
 def test_question_mark_is_strong_punctuation(self):
     token = Token("xxx", "?")
     self.assertTrue(token.is_strong_punctuation())
コード例 #8
0
 def test_period_is_strong_punctuation(self):
     token = Token("xxx", ".")
     self.assertTrue(token.is_strong_punctuation())