algorithmz 1.2.0

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
14
use algorithmz::string::make_sentence;

#[test]
fn test_make_sentence_empty_text() {
    let result = make_sentence("", &["","ap","ple"]);
    assert_eq!(result, true);
}

#[test]
fn test_make_sentence() {
    let result = make_sentence("applet", &["", "app", "let", "t", "apple", "applet"]);
    assert_eq!(result, true);
}