osu/osu.Game.Rulesets.Osu.Tests/TestSceneSpinnerHidden.cs

24 lines
686 B
C#
Raw Normal View History

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
2018-04-13 09:19:50 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Game.Rulesets.Osu.Mods;
namespace osu.Game.Rulesets.Osu.Tests
{
[TestFixture]
public class TestSceneSpinnerHidden : TestSceneSpinner
2018-04-13 09:19:50 +00:00
{
public override IReadOnlyList<Type> RequiredTypes => base.RequiredTypes.Concat(new[] { typeof(OsuModHidden) }).ToList();
[SetUp]
public void SetUp() => Schedule(() =>
2018-04-13 09:19:50 +00:00
{
2019-12-13 12:45:38 +00:00
SelectedMods.Value = new[] { new OsuModHidden() };
});
2018-04-13 09:19:50 +00:00
}
}