MCPcopy Index your code
hub / github.com/douchuan/algorithm / quick3str

Function quick3str

tests/test_strings.rs:55–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53
54#[test]
55fn quick3str() {
56 // empty
57 let mut data: Vec<&str> = vec![];
58 Quick3String::sort(&mut data);
59 assert!(data.is_sorted());
60
61 // normal
62 let i = SHELLS;
63 let mut data = extract_words(i);
64 Quick3String::sort(&mut data);
65 assert!(data.is_sorted());
66}
67
68#[test]
69fn quick3way() {

Callers

nothing calls this directly

Calls 2

extract_wordsFunction · 0.70
sortFunction · 0.50

Tested by

no test coverage detected