コード例 #1
0
 def test_sentence_ending_without_period(self):
     self.assertEqual(check_sentence_ending("Fittonia are nice"), False)
コード例 #2
0
 def test_sentence_ending(self):
     self.assertEqual(
         check_sentence_ending("Snails can sleep for 3 years."), True)