コード例 #1
0
ファイル: test.py プロジェクト: Garrett-R/gender_bender
    def test_mixed_case(self):
        example = 'Bonjour'
        result = _copy_case(example, 'hello')

        self.assertEqual(result, 'Hello')
コード例 #2
0
ファイル: test.py プロジェクト: Garrett-R/gender_bender
    def test_all_caps(self):
        example = 'BONJOUR'
        result = _copy_case(example, 'hello')

        self.assertEqual(result, 'HELLO')
コード例 #3
0
ファイル: test.py プロジェクト: Garrett-R/gender_bender
    def test_lower_case(self):
        example = 'bonjour'
        result = _copy_case(example, 'hello')

        self.assertEqual(result, 'hello')