1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 11:42:56 +08:00

Fix broken test case

Seems this technically works, but only because of the edge case of being entirely linear, which the framework catches.

This fixes that.
This commit is contained in:
Naxess 2021-03-31 20:48:17 +02:00
parent 7b684339ed
commit 25afae5671

View File

@ -307,7 +307,7 @@ namespace osu.Game.Rulesets.Osu.Tests.Editor
addClickStep(MouseButton.Left);
addMovementStep(startPosition + new Vector2(150, 0.1f)); // Should convert to bezier
addMovementStep(startPosition + new Vector2(210.0f, 0.0f)); // Should convert back to perfect
addMovementStep(startPosition + new Vector2(400.0f, 50.0f)); // Should convert back to perfect
addClickStep(MouseButton.Right);
assertPlaced(true);