muss/interpreter/tests/music_lib.rs

12 lines
295 B
Rust
Raw Permalink Normal View History

#[cfg(feature = "music_library")]
mod music_lib_test {
2022-07-01 22:50:07 +01:00
use muss_interpreter::music::*;
#[test]
fn generate_library() {
2022-07-01 22:50:07 +01:00
let mut lib = Library::new();
lib.read_path("/home/ngnius/Music", 10).unwrap();
println!("generated library size: {}", lib.len());
}
}