adjust unit test values after switching from 0.128 to 0.1238
This commit is contained in:
parent
766ba2daa0
commit
7fbffc4738
@ -104,11 +104,12 @@ public class TestAudioFingerprinting
|
|||||||
|
|
||||||
Assert.True(lhs.Valid);
|
Assert.True(lhs.Valid);
|
||||||
Assert.Equal(0, lhs.IntroStart);
|
Assert.Equal(0, lhs.IntroStart);
|
||||||
Assert.Equal(17.792, lhs.IntroEnd);
|
Assert.Equal(17.208, lhs.IntroEnd, 3);
|
||||||
|
|
||||||
Assert.True(rhs.Valid);
|
Assert.True(rhs.Valid);
|
||||||
Assert.Equal(5.12, rhs.IntroStart);
|
// because we changed for 0.128 to 0.1238 its 4,952 now but that's too early (<= 5)
|
||||||
Assert.Equal(22.912, rhs.IntroEnd);
|
Assert.Equal(0, rhs.IntroStart);
|
||||||
|
Assert.Equal(22.1602, rhs.IntroEnd);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user