예제 #1
0
 def test_count_code6(self):
     self.assertEqual(count_code('coe'), 0)
예제 #2
0
 def test_count_code5(self):
     self.assertEqual(count_code('abcxyz'), 0)
예제 #3
0
 def test_count_code4(self):
     self.assertEqual(count_code('AAcodeBBcoleCCccoreDD'), 3)
예제 #4
0
 def test_count_code3(self):
     self.assertEqual(count_code('xxcozeyycop'), 1)
예제 #5
0
 def test_count_code2(self):
     self.assertEqual(count_code('cozexxcope'), 2)
예제 #6
0
 def test_count_code1(self):
     self.assertEqual(count_code('aaacodebbb'), 1)