1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 04:27:34 +08:00
osu-lazer/osu.Game.Tests/Visual/TestCaseRoomSettings.cs

29 lines
764 B
C#
Raw Normal View History

2018-06-06 11:29:52 +08:00
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Game.Online.Multiplayer;
2018-06-06 11:29:52 +08:00
using osu.Game.Screens.Multi.Screens.Match;
namespace osu.Game.Tests.Visual
{
[TestFixture]
public class TestCaseRoomSettings : OsuTestCase
{
public TestCaseRoomSettings()
{
Room room = new Room();
2018-06-06 11:29:52 +08:00
RoomSettingsOverlay overlay;
Add(overlay = new RoomSettingsOverlay(room)
2018-06-06 11:29:52 +08:00
{
RelativeSizeAxes = Axes.Both,
Height = 0.75f,
});
AddStep(@"toggle", overlay.ToggleVisibility);
}
}
}