]> git.nihav.org Git - nihav.git/commitdiff
ralf: switch to MD5-based test
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 23 Feb 2020 16:38:39 +0000 (17:38 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 23 Feb 2020 16:38:39 +0000 (17:38 +0100)
nihav-realmedia/src/codecs/ralf.rs

index b9790512fd79c8f7c9563edf48b653505507d37e..dd8b698d3f1bf154ee3ac9406b79bce45125cee9 100644 (file)
@@ -489,9 +489,8 @@ mod test {
         let mut dec_reg = RegisteredDecoders::new();
         realmedia_register_all_codecs(&mut dec_reg);
 
-        let file = "assets/RV/rv40_ralf.rmvb";
-        test_decode_audio("realmedia", file, Some(2000), None/*Some("ralf")*/, &dmx_reg, &dec_reg);
-//panic!("end");
+        test_decoding("realmedia", "ralf", "assets/RV/rv40_ralf.rmvb", None, &dmx_reg, &dec_reg,
+                      ExpectedTestResult::MD5([0x6cf18361, 0x9548b5ce, 0x5dfc0b5c, 0x2bd6f392]));
     }
 }