mirror of
https://github.com/Dangoware/dmp-core.git
synced 2025-04-19 17:42:56 -05:00
removed a broken test function
This commit is contained in:
parent
a2cb8bd0b5
commit
c8c00a765b
1 changed files with 0 additions and 13 deletions
|
@ -1139,19 +1139,6 @@ mod test {
|
||||||
|
|
||||||
use super::Song;
|
use super::Song;
|
||||||
|
|
||||||
#[test]
|
|
||||||
fn get_art_test() {
|
|
||||||
let s = Song::from_file(Path::new("")).unwrap();
|
|
||||||
let dir = &TempDir::new().unwrap();
|
|
||||||
|
|
||||||
let now = Instant::now();
|
|
||||||
_ = s.open_album_art(0, dir).inspect_err(|e| println!("{e:?}"));
|
|
||||||
_ = s.open_album_art(1, dir).inspect_err(|e| println!("{e:?}"));
|
|
||||||
println!("{}ms", now.elapsed().as_millis());
|
|
||||||
|
|
||||||
sleep(Duration::from_secs(20));
|
|
||||||
}
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn library_init() {
|
fn library_init() {
|
||||||
let config = Config::read_file(PathBuf::from("test_config/config_test.json")).unwrap();
|
let config = Config::read_file(PathBuf::from("test_config/config_test.json")).unwrap();
|
||||||
|
|
Loading…
Reference in a new issue