From 58f2c0ce0fc6197b8370a0fe8067f045c9753b56 Mon Sep 17 00:00:00 2001 From: Kilian von Pflugk Date: Sun, 19 May 2024 17:49:43 +0200 Subject: [PATCH] test adjust values for blackframes --- .../TestBlackFrames.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ConfusedPolarBear.Plugin.IntroSkipper.Tests/TestBlackFrames.cs b/ConfusedPolarBear.Plugin.IntroSkipper.Tests/TestBlackFrames.cs index 1de44c2..60d3115 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper.Tests/TestBlackFrames.cs +++ b/ConfusedPolarBear.Plugin.IntroSkipper.Tests/TestBlackFrames.cs @@ -13,7 +13,7 @@ public class TestBlackFrames var range = 1e-5; var expected = new List(); - expected.AddRange(CreateFrameSequence(2, 3)); + expected.AddRange(CreateFrameSequence(2.04, 3)); expected.AddRange(CreateFrameSequence(5, 6)); expected.AddRange(CreateFrameSequence(8, 9.96)); @@ -30,7 +30,8 @@ public class TestBlackFrames [FactSkipFFmpegTests] public void TestEndCreditDetection() { - var range = 1; + // new strategy new range + var range = 3; var analyzer = CreateBlackFrameAnalyzer();