diff --git a/tests/ffprobe_media_tests.rs b/tests/ffprobe_media_tests.rs index 0d1cc57..13ecd18 100644 --- a/tests/ffprobe_media_tests.rs +++ b/tests/ffprobe_media_tests.rs @@ -7,6 +7,11 @@ use std::io::Read; use bwavfile::WaveReader; +// Media Tests +// +// These tests compare metadata and format data read by ffprobe with the same values +// as read by `WaveReader`. + // This seems rickety but we're going with it fn assert_match_stream(stream_key: &str, other: impl Fn(&mut WaveReader) -> T) @@ -47,4 +52,4 @@ fn test_sample_rate() { #[test] fn test_channel_count() { assert_match_stream("channels", |w| w.format().unwrap().channel_count ); -} \ No newline at end of file +}