Added tests #12

Merged
phoenix merged 8 commits from add_tests into devel 2025-03-22 20:32:05 +00:00
Showing only changes of commit 0b40ed903d - Show all commits

View File

@@ -135,7 +135,8 @@ fn test_song_generate_filename() {
assert_eq!(song.directory.is_empty(), false); assert_eq!(song.directory.is_empty(), false);
// song_cpy.directory = String::from(temp_dir.path().to_str()); // song_cpy.directory = String::from(temp_dir.path().to_str());
song_cpy.filename = song.generate_filename(types::MusicTypes::FlacExtension, true); song_cpy.filename =
song.generate_filename(types::MusicTypes::FlacExtension, true);
println!("Directory: {:?}", song_cpy.directory); println!("Directory: {:?}", song_cpy.directory);
println!("File to be created: {:?}", song_cpy.filename); println!("File to be created: {:?}", song_cpy.filename);