mirror of
https://github.com/ppy/osu
synced 2024-12-15 19:36:34 +00:00
InspectCode fixes
This commit is contained in:
parent
648e9fa21f
commit
78bdf5cf91
@ -32,7 +32,7 @@ namespace osu.Game.Tests.Visual.Editor
|
||||
[Test]
|
||||
public void TestBindableBeatDivisor()
|
||||
{
|
||||
AddStep("Reset", () => reset());
|
||||
AddStep("Reset", reset);
|
||||
AddRepeatStep("Move previous", () => bindableBeatDivisor.Previous(), 4);
|
||||
AddAssert("Position at 4", () => bindableBeatDivisor.Value == 4);
|
||||
AddRepeatStep("Move next", () => bindableBeatDivisor.Next(), 3);
|
||||
@ -42,7 +42,7 @@ namespace osu.Game.Tests.Visual.Editor
|
||||
[Test]
|
||||
public void TestMouseInput()
|
||||
{
|
||||
AddStep("Reset", () => reset());
|
||||
AddStep("Reset", reset);
|
||||
AddStep("Move to marker", () =>
|
||||
{
|
||||
InputManager.MoveMouseTo(beatDivisorControl, new Vector2(38, -18));
|
||||
@ -54,7 +54,7 @@ namespace osu.Game.Tests.Visual.Editor
|
||||
InputManager.ReleaseButton(osuTK.Input.MouseButton.Left);
|
||||
});
|
||||
AddAssert("Position at 8", () => bindableBeatDivisor.Value == 8);
|
||||
AddStep("Prepare to move marker", () => { InputManager.PressButton(osuTK.Input.MouseButton.Left); });
|
||||
AddStep("Prepare to move marker", () => InputManager.PressButton(osuTK.Input.MouseButton.Left));
|
||||
AddStep("Trigger marker jump", () =>
|
||||
{
|
||||
InputManager.MoveMouseTo(beatDivisorControl, new Vector2(30, -18));
|
||||
|
Loading…
Reference in New Issue
Block a user