示例#1
0
 def test_5(self):
     s0 = 'accdcosd'.lower()
     s1 = cut_word.infer_spaces(s0)
     self.assertEqual(s1, 'students being')
示例#2
0
 def test_1(self):
     s0 = 'femaleapplicants'
     s1 = cut_word.infer_spaces(s0)
     self.assertEqual(s1, 'female applicants')
示例#3
0
 def test_3(self):
     s0 = 'maleIhadanadvantageOver'.lower()
     s1 = cut_word.infer_spaces(s0)
     self.assertEqual(s1, 'male i had an advantage over')
示例#4
0
 def test_0(self):
     s0 = 'thumbgreenappleactiveassignmentweeklymetaphor'
     s1 = cut_word.infer_spaces(s0)
     self.assertEqual(
         s1, 'thumb green apple active assignment weekly metaphor')