mirror of https://github.com/ppy/osu
Fix test setting invalid TimeOffset
This commit is contained in:
parent
258de3b2d8
commit
5ddaf8ea3c
|
@ -22,12 +22,18 @@ public partial class TestSceneUnstableRateCounter : OsuTestScene
|
||||||
[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()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue