mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:33:30 +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);
|
||||
assertControlPointCount(3);
|
||||
assertControlPointType(0, PathType.Bezier);
|
||||
// Will be > 10000 if not falling back to Bezier path calc.
|
||||
assertLength(218.8901f);
|
||||
}
|
||||
|
||||
[Test]
|
||||
@ -311,7 +309,6 @@ namespace osu.Game.Rulesets.Osu.Tests.Editor
|
||||
assertPlaced(true);
|
||||
assertControlPointCount(3);
|
||||
assertControlPointType(0, PathType.PerfectCurve);
|
||||
assertLength(212.2276f);
|
||||
}
|
||||
|
||||
private void addMovementStep(Vector2 position) => AddStep($"move mouse to {position}", () => InputManager.MoveMouseTo(InputManager.ToScreenSpace(position)));
|
||||
|
Loading…
Reference in New Issue
Block a user