]> git.nihav.org Git - nihav.git/commitdiff
vp5: switch to MD5 hash test
authorKostya Shishkov <kostya.shishkov@gmail.com>
Mon, 27 Jan 2020 17:17:03 +0000 (18:17 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Mon, 27 Jan 2020 17:17:03 +0000 (18:17 +0100)
nihav-duck/src/codecs/vp5.rs

index 7ba6d2ac70d5322a0bd8ae95e48483e55bb8400f..c520b96b61c0e333bcfd6b0b2cfa52fc1f653dca 100644 (file)
@@ -298,8 +298,8 @@ mod test {
 
         let file = "assets/Duck/Cell-140.vp5";
         //let file = "assets/Duck/Chocolat-500.vp5";
-        test_file_decoding("avi", file, Some(13), true, false, None/*Some("vp5")*/, &dmx_reg, &dec_reg);
-//panic!("end");
+        test_decoding("avi", "vp5", file, Some(96), &dmx_reg, &dec_reg,
+                      ExpectedTestResult::MD5([0x9ad78b0f, 0xed988ead, 0x88ed2ea9, 0xcdb75cdf]));
     }
 }