mirror of
https://github.com/ppy/osu.git
synced 2025-01-30 21:25:36 +08:00
Remove unnecessary length asserts
We don't actually care about the length (as this isn't what we're testing), just the type of the slider.
This commit is contained in:
parent
7bae4ff43d
commit
847d44c7d9
@ -291,8 +291,6 @@ namespace osu.Game.Rulesets.Osu.Tests.Editor
|
|||||||
assertPlaced(true);
|
assertPlaced(true);
|
||||||
assertControlPointCount(3);
|
assertControlPointCount(3);
|
||||||
assertControlPointType(0, PathType.Bezier);
|
assertControlPointType(0, PathType.Bezier);
|
||||||
// Will be > 10000 if not falling back to Bezier path calc.
|
|
||||||
assertLength(218.8901f);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
@ -311,7 +309,6 @@ namespace osu.Game.Rulesets.Osu.Tests.Editor
|
|||||||
assertPlaced(true);
|
assertPlaced(true);
|
||||||
assertControlPointCount(3);
|
assertControlPointCount(3);
|
||||||
assertControlPointType(0, PathType.PerfectCurve);
|
assertControlPointType(0, PathType.PerfectCurve);
|
||||||
assertLength(212.2276f);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addMovementStep(Vector2 position) => AddStep($"move mouse to {position}", () => InputManager.MoveMouseTo(InputManager.ToScreenSpace(position)));
|
private void addMovementStep(Vector2 position) => AddStep($"move mouse to {position}", () => InputManager.MoveMouseTo(InputManager.ToScreenSpace(position)));
|
||||||
|
Loading…
Reference in New Issue
Block a user