Contents:
kyu_6.first_character_that_repeats.first_character_that_repeats.
first_dup
Find the first character that repeats in a String and return that character. :param s: :return:
kyu_6.first_character_that_repeats.test_first_character_that_repeats.
FirstDupTestCase
Bases: unittest.case.TestCase
unittest.case.TestCase
Testing first_dup function
Find the first character that repeats in a String and return that character.
test_first_alpha_only
Test string with alphabet chars only :return:
test_first_dup_mixed
Test string with mixed type of chars :return:
test_first_dup_none
Test string with no duplicate chars :return:
test_first_no_alpha
Test string with no alphabet chars :return:
test_first_space
Repeating char is a space :return: