Skip to content

Commit

Permalink
3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
null8626 committed Feb 27, 2024
1 parent 6857b7e commit dfbeceb
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions core/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,19 @@ fn similar_contains() {
};
}

//assert!(is_contains!("hello", "hello"));
//assert!(is_contains!("hello?", "hello"));
//assert!(is_contains!("hhheeeeelllloo!!", "hello"));
//assert!(is_contains!("hh-he e ee!e!ll/l/lo//o-?", "hello"));
//
//assert!(is_contains!("-!?hel$2-hello?", "hello"));
//assert!(is_contains!("-!?hel$2-hhheeeeelllloo!!", "hello"));
//assert!(is_contains!("-!?hel$2-hh-he e ee!e!ll/l/lo//o-?", "hello"));
assert!(is_contains!("hello", "hello"));
assert!(is_contains!("hello?", "hello"));
assert!(is_contains!("hhheeeeelllloo!!", "hello"));
assert!(is_contains!("hh-he e ee!e!ll/l/lo//o-?", "hello"));

assert!(is_contains!("-!?hel$2-hello?", "hello"));
assert!(is_contains!("-!?hel$2-hhheeeeelllloo!!", "hello"));
assert!(is_contains!("-!?hel$2-hh-he e ee!e!ll/l/lo//o-?", "hello"));

assert!(!is_contains!("eel", "ell"));
assert!(!is_contains!("ell", "eel"));
assert!(!is_contains!("-!?hel", "hell"));
//assert!(!is_contains!("ello?", "hello"));
assert!(!is_contains!("ello?", "hello"));
}

#[test]
Expand Down

0 comments on commit dfbeceb

Please sign in to comment.