Files
bytes/test/test.rs
T

18 lines
283 B
Rust
Raw Normal View History

use rand::random;
extern crate bytes;
extern crate rand;
2015-03-24 22:10:29 -07:00
mod test_buf;
mod test_buf_fill;
mod test_byte_buf;
2015-02-17 12:40:15 -08:00
mod test_bytes;
2015-04-09 23:18:16 +02:00
mod test_ring;
mod test_rope;
mod test_seq_byte_str;
mod test_small_byte_str;
fn gen_bytes(n: usize) -> Vec<u8> {
(0..n).map(|_| random()).collect()
}