diff --git a/osu.Game.Rulesets.Osu.Tests/Editor/TestSceneSliderControlPointPiece.cs b/osu.Game.Rulesets.Osu.Tests/Editor/TestSceneSliderControlPointPiece.cs index a0bdcb144f..d8618ee289 100644 --- a/osu.Game.Rulesets.Osu.Tests/Editor/TestSceneSliderControlPointPiece.cs +++ b/osu.Game.Rulesets.Osu.Tests/Editor/TestSceneSliderControlPointPiece.cs @@ -58,6 +58,10 @@ namespace osu.Game.Rulesets.Osu.Tests.Editor assertSelectionCount(1); assertSelected(0); + AddStep("click right mouse", () => InputManager.Click(MouseButton.Right)); + assertSelectionCount(1); + assertSelected(0); + moveMouseToControlPoint(3); AddStep("click left mouse", () => InputManager.Click(MouseButton.Left)); assertSelectionCount(1); @@ -77,6 +81,12 @@ namespace osu.Game.Rulesets.Osu.Tests.Editor assertSelected(2); assertSelected(3); + AddStep("click right mouse", () => InputManager.Click(MouseButton.Right)); + assertSelectionCount(3); + assertSelected(0); + assertSelected(2); + assertSelected(3); + AddStep("release control", () => InputManager.ReleaseKey(Key.ControlLeft)); AddStep("click left mouse", () => InputManager.Click(MouseButton.Left)); assertSelectionCount(1);