mirror of
https://github.com/ppy/osu
synced 2025-02-26 15:40:56 +00: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();
|
var blueprint = this.ChildrenOfType<TimelineHitObjectBlueprint>().Single();
|
||||||
InputManager.MoveMouseTo(blueprint.SelectionQuad.TopLeft + new Vector2(100, 0));
|
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);
|
AddAssert("object has zero repeats", () => EditorBeatmap.HitObjects.OfType<IHasRepeats>().Single().RepeatCount == 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user