mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 17:33:22 +08:00
Increase leniency
This commit is contained in:
parent
44d2514f1a
commit
f12caaf907
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user