1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 18:47:27 +08:00

Adjust test to reliabily fail

This commit is contained in:
Dean Herbert 2023-05-02 13:12:08 +09:00
parent dbb2a8980b
commit 87db891143

View File

@ -105,9 +105,10 @@ namespace osu.Game.Tests.Visual.Editing
{
var blueprint = this.ChildrenOfType<TimelineHitObjectBlueprint>().Single();
InputManager.MoveMouseTo(blueprint.SelectionQuad.TopLeft + new Vector2(100, 0));
InputManager.ReleaseButton(MouseButton.Left);
});
AddStep("release button", () => InputManager.PressButton(MouseButton.Left));
AddAssert("object has zero repeats", () => EditorBeatmap.HitObjects.OfType<IHasRepeats>().Single().RepeatCount == 0);
}
}