mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 03:22:54 +08:00
Adjust test to reliabily fail
This commit is contained in:
parent
dbb2a8980b
commit
87db891143
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user