MCPcopy Create free account
hub / github.com/douchuan/algorithm / t_less

Function t_less

src/sort/insert.rs:52–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50
51#[test]
52fn t_less() {
53 assert!(is_less("aaa", "aaaa", 0)); // len less
54 assert!(is_less("aaa", "aaaa", 1)); // len less
55 assert!(is_less("aaa", "abaa", 1)); // 'a' < 'b'
56}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected