1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 12:43:16 +08:00

Increase leniency

This commit is contained in:
smoogipoo 2019-06-13 15:47:21 +09:00
parent 44d2514f1a
commit f12caaf907

View File

@ -49,8 +49,8 @@ namespace osu.Game.Tests.Visual.Gameplay
{
AddStep($"seek to {time}", () => player.GameplayClockContainer.Seek(time));
// Allow 2 frames of lenience
AddUntilStep("wait for seek to finish", () => Precision.AlmostEquals(time, player.DrawableRuleset.FrameStableClock.CurrentTime, 32));
// Allow a few frames of lenience
AddUntilStep("wait for seek to finish", () => Precision.AlmostEquals(time, player.DrawableRuleset.FrameStableClock.CurrentTime, 100));
}
protected override Player CreatePlayer(Ruleset ruleset)