algorithmz 1.2.9

This is the corresponding implemenation of the python module of the same name.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use algorithmz::string::repeat_substring;

#[test]
fn test_repeat_substring_false() {
    let result = repeat_substring("abcd");
    assert_eq!(result, false);
}

#[test]
fn test_repeat_substring_true() {
    let result = repeat_substring("abcabc");
    assert_eq!(result, true);
}