1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 05:32:54 +08:00

Fix test setting invalid TimeOffset

This commit is contained in:
ekrctb 2023-02-09 17:43:04 +09:00
parent 258de3b2d8
commit 5ddaf8ea3c

View File

@ -22,12 +22,18 @@ namespace osu.Game.Tests.Visual.Gameplay
[Cached(typeof(ScoreProcessor))] [Cached(typeof(ScoreProcessor))]
private TestScoreProcessor scoreProcessor = new TestScoreProcessor(); private TestScoreProcessor scoreProcessor = new TestScoreProcessor();
private readonly OsuHitWindows hitWindows = new OsuHitWindows(); private readonly OsuHitWindows hitWindows;
private UnstableRateCounter counter; private UnstableRateCounter counter;
private double prev; private double prev;
public TestSceneUnstableRateCounter()
{
hitWindows = new OsuHitWindows();
hitWindows.SetDifficulty(5);
}
[SetUpSteps] [SetUpSteps]
public void SetUp() public void SetUp()
{ {