mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 21:02:55 +08:00
Add margin to large segment test
Test ran fine on my end, but apparently not on the CI. This should make results a bit more consistent, hopefully.
This commit is contained in:
parent
b8479a979f
commit
8621a6b4fe
@ -323,12 +323,12 @@ namespace osu.Game.Rulesets.Osu.Tests.Editor
|
||||
addMovementStep(startPosition);
|
||||
addClickStep(MouseButton.Left);
|
||||
|
||||
addMovementStep(startPosition + new Vector2(240, 240));
|
||||
addMovementStep(startPosition + new Vector2(220, 220));
|
||||
addClickStep(MouseButton.Left);
|
||||
|
||||
// Playfield dimensions are 640 x 480.
|
||||
// So a 480 x 480 bounding box should be ok.
|
||||
addMovementStep(startPosition + new Vector2(-240, 240));
|
||||
// So a 440 x 440 bounding box should be ok.
|
||||
addMovementStep(startPosition + new Vector2(-220, 220));
|
||||
addClickStep(MouseButton.Right);
|
||||
|
||||
assertPlaced(true);
|
||||
|
Loading…
Reference in New Issue
Block a user