adjust unit test values after switching from 0.128 to 0.1238

This commit is contained in:
Kilian von Pflugk 2024-05-19 17:47:02 +02:00 committed by TwistedUmbrellaX
parent 766ba2daa0
commit 7fbffc4738

View File

@ -104,11 +104,12 @@ public class TestAudioFingerprinting
Assert.True(lhs.Valid);
Assert.Equal(0, lhs.IntroStart);
Assert.Equal(17.792, lhs.IntroEnd);
Assert.Equal(17.208, lhs.IntroEnd, 3);
Assert.True(rhs.Valid);
Assert.Equal(5.12, rhs.IntroStart);
Assert.Equal(22.912, rhs.IntroEnd);
// because we changed for 0.128 to 0.1238 its 4,952 now but that's too early (<= 5)
Assert.Equal(0, rhs.IntroStart);
Assert.Equal(22.1602, rhs.IntroEnd);
}
/// <summary>