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

Function MSD_radix_sort

tests/test_strings.rs:41–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39
40#[test]
41fn MSD_radix_sort() {
42 // empty
43 let mut data: Vec<&str> = vec![];
44 MSD::sort(&mut data);
45 assert!(data.is_sorted());
46
47 // normal
48 let i = SHELLS;
49 let mut data = extract_words(i);
50 MSD::sort(&mut data);
51 assert!(data.is_sorted());
52}
53
54#[test]
55fn quick3str() {

Callers

nothing calls this directly

Calls 2

extract_wordsFunction · 0.70
sortFunction · 0.50

Tested by

no test coverage detected