Fix test cases

This commit is contained in:
OliBomby 2023-12-03 22:42:48 +01:00
parent 060141866c
commit 13b7f2fa42

View File

@ -310,7 +310,7 @@ namespace osu.Game.Rulesets.Osu.Tests.Editor
AddStep("release left button", () => InputManager.ReleaseButton(MouseButton.Left));
assertPlaced(true);
assertLength(760, tolerance: 10);
assertLength(808, tolerance: 10);
assertControlPointCount(5);
assertControlPointType(0, PathType.BSpline(3));
assertControlPointType(1, null);
@ -337,9 +337,9 @@ namespace osu.Game.Rulesets.Osu.Tests.Editor
assertPlaced(true);
assertLength(600, tolerance: 10);
assertControlPointCount(4);
assertControlPointType(0, PathType.LINEAR);
assertControlPointType(1, null);
assertControlPointType(2, null);
assertControlPointType(0, PathType.BSpline(3));
assertControlPointType(1, PathType.BSpline(3));
assertControlPointType(2, PathType.BSpline(3));
assertControlPointType(3, null);
}