algorithmz 0.8.5

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::delete_reoccuring;

#[test]
fn test_delete_reoccuring() {
    let result = delete_reoccuring("aaabbbccc");
    assert_eq!(result,String::from("abc"));
}

#[test]
fn test_delete_reoccuring_empty() {
    let result = delete_reoccuring("");
    assert_eq!(result, String::from(""));
}