Remove test coverage of "shift" hotkey behaviour

This commit is contained in:
Salman Ahmed
2022-02-15 02:29:09 +03:00
parent 868dcd20f5
commit cbc8f7ff90

View File

@ -101,11 +101,6 @@ namespace osu.Game.Tests.Visual.Editing
AddStep("scroll mouse 5 steps", () => InputManager.ScrollVerticalBy(5)); AddStep("scroll mouse 5 steps", () => InputManager.ScrollVerticalBy(5));
AddAssert("distance spacing increased by 0.5", () => Precision.AlmostEquals(editorBeatmap.BeatmapInfo.DistanceSpacing, originalSpacing + 0.5f)); AddAssert("distance spacing increased by 0.5", () => Precision.AlmostEquals(editorBeatmap.BeatmapInfo.DistanceSpacing, originalSpacing + 0.5f));
AddStep("hold shift", () => InputManager.PressKey(Key.LShift));
AddStep("scroll mouse 5 steps", () => InputManager.ScrollVerticalBy(5));
AddAssert("distance spacing increased by 0.05", () => Precision.AlmostEquals(editorBeatmap.BeatmapInfo.DistanceSpacing, originalSpacing + 0.55f));
AddStep("release shift", () => InputManager.ReleaseKey(Key.LShift));
AddStep("release alt", () => InputManager.ReleaseKey(Key.LAlt)); AddStep("release alt", () => InputManager.ReleaseKey(Key.LAlt));
AddStep("release D", () => InputManager.ReleaseKey(Key.D)); AddStep("release D", () => InputManager.ReleaseKey(Key.D));
} }