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

Function t_vec_alphabet

src/common/util.rs:37–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35
36#[test]
37fn t_vec_alphabet() {
38 let vec = vec_alphabet(1);
39 assert_eq!("a", vec[0]);
40
41 let vec = vec_alphabet(10);
42 assert_eq!("aaaaaaaaaa", vec[0]);
43}
44
45#[test]
46fn t_char_at() {

Callers

nothing calls this directly

Calls 1

vec_alphabetFunction · 0.85

Tested by

no test coverage detected