mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 01:47:30 +09: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);
|
addMovementStep(startPosition);
|
||||||
addClickStep(MouseButton.Left);
|
addClickStep(MouseButton.Left);
|
||||||
|
|
||||||
addMovementStep(startPosition + new Vector2(240, 240));
|
addMovementStep(startPosition + new Vector2(220, 220));
|
||||||
addClickStep(MouseButton.Left);
|
addClickStep(MouseButton.Left);
|
||||||
|
|
||||||
// Playfield dimensions are 640 x 480.
|
// Playfield dimensions are 640 x 480.
|
||||||
// So a 480 x 480 bounding box should be ok.
|
// So a 440 x 440 bounding box should be ok.
|
||||||
addMovementStep(startPosition + new Vector2(-240, 240));
|
addMovementStep(startPosition + new Vector2(-220, 220));
|
||||||
addClickStep(MouseButton.Right);
|
addClickStep(MouseButton.Right);
|
||||||
|
|
||||||
assertPlaced(true);
|
assertPlaced(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user