kyu_7.jaden_casing_strings package

Submodules

kyu_7.jaden_casing_strings.jaden_casing_strings module

Solution for -> Jaden Casing Strings.

Created by Egor Kostan. GitHub: https://github.com/ikostan

kyu_7.jaden_casing_strings.jaden_casing_strings.to_jaden_case(string: str) str[source]

Jaden Casing Strings.

Convert strings to how they would be written by Jaden Smith. The strings are actual quotes from Jaden Smith, but they are not capitalized in the same way he originally typed them.

Example.

Not Jaden-Cased: “How can mirrors be real if our eyes aren’t real”

Jaden-Cased: “How Can Mirrors Be Real If Our Eyes Aren’t Real” :param string: :return:

kyu_7.jaden_casing_strings.test_jaden_casing_strings module

Test for -> Jaden Casing Strings.

Created by Egor Kostan. GitHub: https://github.com/ikostan

class kyu_7.jaden_casing_strings.test_jaden_casing_strings.JadenCasingStringsTestCase(methodName='runTest')[source]

Bases: TestCase

Testing toJadenCase function.

_classSetupFailed = False
_class_cleanups = []
test_to_jaden_case_negative()[source]

Simple negative test.

Returns:

test_to_jaden_case_positive()[source]

Simple positive test.

Returns:

Module contents

Jaden Casing Strings.