mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 03:22:57 +08:00
Fix test to work regardless of screen sizes
This commit is contained in:
parent
d12845d7b1
commit
547f247669
@ -67,11 +67,10 @@ namespace osu.Game.Rulesets.Osu.Tests.Editor
|
||||
addMovementStep(new Vector2(200));
|
||||
addClickStep(MouseButton.Left);
|
||||
|
||||
addMovementStep(new Vector2(1400, 200));
|
||||
AddStep("move mouse out of screen", () => InputManager.MoveMouseTo(InputManager.ScreenSpaceDrawQuad.TopRight + Vector2.One));
|
||||
addClickStep(MouseButton.Right);
|
||||
|
||||
assertPlaced(true);
|
||||
assertLength(1200);
|
||||
assertControlPointCount(2);
|
||||
assertControlPointType(0, PathType.Linear);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user