mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 04:52:57 +08:00
Fix broken control point drag test
Broken for 2 reasons: - Assert checks the wrong control point. - The exterior arc is now too big. This fixes both.
This commit is contained in:
parent
e0240ab9d9
commit
415797aadd
@ -112,10 +112,10 @@ namespace osu.Game.Rulesets.Osu.Tests.Editor
|
||||
addMovementStep(new Vector2(350, 0));
|
||||
assertControlPointType(2, PathType.Bezier);
|
||||
|
||||
addMovementStep(new Vector2(150, 150));
|
||||
addMovementStep(new Vector2(400, 50));
|
||||
AddStep("release", () => InputManager.ReleaseButton(MouseButton.Left));
|
||||
|
||||
assertControlPointPosition(1, new Vector2(150, 150));
|
||||
assertControlPointPosition(4, new Vector2(400, 50));
|
||||
assertControlPointType(2, PathType.PerfectCurve);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user