1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-19 03:23:05 +08:00

Remove unnecessary method

This commit is contained in:
smoogipoo 2021-04-07 16:37:43 +09:00
parent 6be9c9f0f4
commit f5667125a0

View File

@ -184,12 +184,6 @@ namespace osu.Game.Tests.Visual.Multiplayer
InputManager.Click(MouseButton.Left);
});
private void addClickReadyButtonStep() => AddStep("click ready button", () =>
{
InputManager.MoveMouseTo(readyButton);
InputManager.Click(MouseButton.Left);
});
private void assertSpectateButtonEnablement(bool shouldBeEnabled)
=> AddAssert($"spectate button {(shouldBeEnabled ? "is" : "is not")} enabled", () => spectateButton.ChildrenOfType<OsuButton>().Single().Enabled.Value == shouldBeEnabled);