mirror of
https://github.com/osukey/osukey.git
synced 2025-05-02 04:07:22 +09:00
29 lines
897 B
C#
29 lines
897 B
C#
// 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.
|
|
|
|
using NUnit.Framework;
|
|
using osu.Framework.Graphics;
|
|
using osu.Framework.Graphics.Containers;
|
|
using osu.Game.Overlays.Mods;
|
|
|
|
namespace osu.Game.Tests.Visual.UserInterface
|
|
{
|
|
[TestFixture]
|
|
public class TestSceneModSelectScreen : OsuTestScene
|
|
{
|
|
[Test]
|
|
public void TestModSelectScreen()
|
|
{
|
|
ModSelectScreen modSelectScreen = null;
|
|
|
|
AddStep("create screen", () => Child = modSelectScreen = new ModSelectScreen
|
|
{
|
|
RelativeSizeAxes = Axes.Both,
|
|
State = { Value = Visibility.Visible }
|
|
});
|
|
|
|
AddToggleStep("toggle state", visible => modSelectScreen.State.Value = visible ? Visibility.Visible : Visibility.Hidden);
|
|
}
|
|
}
|
|
}
|