1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 09:07:25 +08:00

Fix oversight in testing

This commit is contained in:
Endrik Tombak 2020-04-04 15:59:39 +03:00
parent 8eb5eeedc6
commit 0ebb5a81f9

View File

@ -86,14 +86,14 @@ namespace osu.Game.Rulesets.Osu.Tests
setSnaking(true);
base.SetUpSteps();
addSeekStep(13500);
addSeekStep(16500);
AddStep("retrieve 2nd slider repeat", () =>
{
var drawable = Player.DrawableRuleset.Playfield.AllHitObjects.Skip(1).First();
repeat = drawable.ChildrenOfType<Container<DrawableSliderRepeat>>().First().Children.First();
});
AddStep("Save repeat vector", () => savedVector = repeat.Position);
addSeekStep(13700);
addSeekStep(16700);
AddAssert($"Repeat vector {(isHit ? "is same" : "decreased")}", () =>
{