ainu-utils 0.5.1

A collection of utilities for the Ainu language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use super::unfix::unfix;

#[test]
fn test_prefix() {
    let result = unfix("a=ye".to_string());
    assert_eq!(result, vec!["a=".to_string(), "ye".to_string()]);
}

#[test]
fn test_suffix() {
    let result = unfix("soyenpa=an".to_string());
    assert_eq!(result, vec!["soyenpa".to_string(), "=an".to_string()]);
}