fn basename_used_for_tagless_files() {
        gst::init().unwrap();
        let path = PathBuf::from("testcases/album_with_no_tags/1. Song 1.mp3")
            .canonicalize()
            .unwrap();
        let song = Song::from(path).unwrap();
        assert_eq!(song.title, "1. Song 1");
    }
// If an audio file has no tags, the basename should be used as title
If an audio file has no tags, the basename should be used as title
If an audio file has no tags the basename should be used as title
fn basename_used_for_tagless_files() {
        gst::init().unwrap();
        let path = PathBuf::from("testcases/album_with_no_tags/1. Song 1.mp3")
            .canonicalize()
            .unwrap();
        let song = Song::from(path).unwrap();
        assert_eq!(song.title, "1. Song 1");
    }
fn basename_used_for_tagless_files ( ) { gst :: init ( ) . unwrap ( ) ; let path = PathBuf :: from ( " " ) . canonicalize ( ) . unwrap ( ) ; let song = Song :: from ( path ) . unwrap ( ) ; assert_eq ! ( song title " " ) ; }
If an audio file has no tags, the basename should be used as title
If an audio file has no tags the basename should be used as title