Mark existing Drawable test scenes as NUnit for reuse in kiai test scenes

This commit is contained in:
Joppe27 2022-10-18 23:47:26 +02:00
parent a76a039722
commit 2b5f12e4fb
2 changed files with 4 additions and 5 deletions

View File

@ -25,8 +25,8 @@ namespace osu.Game.Rulesets.Taiko.Tests.Skinning
TimeRange = { Value = 5000 },
};
[BackgroundDependencyLoader]
private void load()
[Test]
public void DrumrollTest()
{
AddStep("Drum roll", () => SetContents(_ =>
{

View File

@ -4,7 +4,6 @@
#nullable disable
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
@ -16,8 +15,8 @@ namespace osu.Game.Rulesets.Taiko.Tests.Skinning
[TestFixture]
public class TestSceneDrawableHit : TaikoSkinnableTestScene
{
[BackgroundDependencyLoader]
private void load()
[Test]
public void TestHits()
{
AddStep("Centre hit", () => SetContents(_ => new DrawableHit(createHitAtCurrentTime())
{