mirror of
https://github.com/ppy/osu
synced 2025-02-09 06:36:56 +00:00
Fix test scenes using framework-testing-specifc test scene
This commit is contained in:
parent
febf9adabd
commit
97076325c4
@ -4,13 +4,13 @@
|
|||||||
using System;
|
using System;
|
||||||
using NUnit.Framework;
|
using NUnit.Framework;
|
||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
using osu.Framework.Testing;
|
|
||||||
using osu.Game.Beatmaps;
|
using osu.Game.Beatmaps;
|
||||||
using osu.Game.Beatmaps.ControlPoints;
|
using osu.Game.Beatmaps.ControlPoints;
|
||||||
using osu.Game.Rulesets.Osu.Objects;
|
using osu.Game.Rulesets.Osu.Objects;
|
||||||
using osu.Game.Rulesets.Osu.Objects.Drawables;
|
using osu.Game.Rulesets.Osu.Objects.Drawables;
|
||||||
using osu.Game.Rulesets.Scoring;
|
using osu.Game.Rulesets.Scoring;
|
||||||
using osu.Game.Skinning;
|
using osu.Game.Skinning;
|
||||||
|
using osu.Game.Tests.Visual;
|
||||||
using osuTK;
|
using osuTK;
|
||||||
|
|
||||||
namespace osu.Game.Rulesets.Osu.Tests
|
namespace osu.Game.Rulesets.Osu.Tests
|
||||||
@ -22,11 +22,7 @@ namespace osu.Game.Rulesets.Osu.Tests
|
|||||||
private DrawableHitCircle.HitReceptor hitAreaReceptor => drawableHitCircle.HitArea;
|
private DrawableHitCircle.HitReceptor hitAreaReceptor => drawableHitCircle.HitArea;
|
||||||
|
|
||||||
[SetUp]
|
[SetUp]
|
||||||
public new void SetUp()
|
public void SetUp() => Schedule(() =>
|
||||||
{
|
|
||||||
base.SetUp();
|
|
||||||
|
|
||||||
Schedule(() =>
|
|
||||||
{
|
{
|
||||||
hitCircle = new HitCircle
|
hitCircle = new HitCircle
|
||||||
{
|
{
|
||||||
@ -45,7 +41,6 @@ namespace osu.Game.Rulesets.Osu.Tests
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void TestCircleHitCentre()
|
public void TestCircleHitCentre()
|
||||||
|
Loading…
Reference in New Issue
Block a user