コード例 #1
0
ファイル: TestCountVowels.py プロジェクト: bbs731/python
 def test_example_1(self):
     """
     test count_lowercase_vowels with empty string
     """
     self.assertEqual(0, countVowels.count_lowercase_vowels(''))
コード例 #2
0
ファイル: TestCountVowels.py プロジェクト: bbs731/python
 def test_example_6(self):
     """test count_lowercase_vowels with 'aeioua' """
     self.assertEqual(5, countVowels.count_lowercase_vowels('aeioua'))
コード例 #3
0
ファイル: TestCountVowels.py プロジェクト: bbs731/python
 def test_example_4(self):
     """
     test count_loewrcase_vowels with 'b'
     """
     self.assertEqual(0, countVowels.count_lowercase_vowels('b'))
コード例 #4
0
ファイル: TestCountVowels.py プロジェクト: bbs731/python
 def test_example_5(self):
     """
     test count_lowercase_vowels with 'pffffft'
     :return:
     """
     self.assertEqual(0, countVowels.count_lowercase_vowels('pffffft'))
コード例 #5
0
ファイル: TestCountVowels.py プロジェクト: bbs731/python
 def test_example_3(self):
     """
     test count_lowercase_vowels with 'A'
     """
     self.assertEqual(0, countVowels.count_lowercase_vowels('A'))