Skip to content

Commit

Permalink
Add a another test file
Browse files Browse the repository at this point in the history
  • Loading branch information
rgiot committed Jul 5, 2020
1 parent f4aa7bb commit 2358823
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions examples/list_info.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
use cpcmix::*;

fn main() {
let mix = db::CpcMix::new();

for key in mix.keys() {
let music = mix.music(key).unwrap();
if let Ok(info) = music.info() {
println!("{}", info);
}
}
}

0 comments on commit 2358823

Please sign in to comment.