pub fn is_title_case(test_string: &str) -> bool
Expand description

Determines if a &str is Title Case

    use inflector::cases::titlecase::is_title_case;
    let mock_string: &str = "foo-bar-string-that-is-really-really-long";
    let asserted_bool: bool = is_title_case(mock_string);
    assert!(asserted_bool == false);
    use inflector::cases::titlecase::is_title_case;
    let mock_string: &str = "FooBarIsAReallyReallyLongString";
    let asserted_bool: bool = is_title_case(mock_string);
    assert!(asserted_bool == false);
    use inflector::cases::titlecase::is_title_case;
    let mock_string: &str = "fooBarIsAReallyReallyLongString";
    let asserted_bool: bool = is_title_case(mock_string);
    assert!(asserted_bool == false);
    use inflector::cases::titlecase::is_title_case;
    let mock_string: &str = "FOO_BAR_STRING_THAT_IS_REALLY_REALLY_LONG";
    let asserted_bool: bool = is_title_case(mock_string);
    assert!(asserted_bool == false);
    use inflector::cases::titlecase::is_title_case;
    let mock_string: &str = "foo_bar_string_that_is_really_really_long";
    let asserted_bool: bool = is_title_case(mock_string);
    assert!(asserted_bool == false);
    use inflector::cases::titlecase::is_title_case;
    let mock_string: &str = "Foo bar string that is really really long";
    let asserted_bool: bool = is_title_case(mock_string);
    assert!(asserted_bool == false);
    use inflector::cases::titlecase::is_title_case;
    let mock_string: &str = "foo";
    let asserted_bool: bool = is_title_case(mock_string);
    assert!(asserted_bool == false);
    use inflector::cases::titlecase::is_title_case;
    let mock_string: &str = "Foo Bar String That Is Really Really Long";
    let asserted_bool: bool = is_title_case(mock_string);
    assert!(asserted_bool == true);