mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 10:47:28 +08:00
Fix oversight in testing
This commit is contained in:
parent
8eb5eeedc6
commit
0ebb5a81f9
@ -86,14 +86,14 @@ namespace osu.Game.Rulesets.Osu.Tests
|
|||||||
setSnaking(true);
|
setSnaking(true);
|
||||||
base.SetUpSteps();
|
base.SetUpSteps();
|
||||||
|
|
||||||
addSeekStep(13500);
|
addSeekStep(16500);
|
||||||
AddStep("retrieve 2nd slider repeat", () =>
|
AddStep("retrieve 2nd slider repeat", () =>
|
||||||
{
|
{
|
||||||
var drawable = Player.DrawableRuleset.Playfield.AllHitObjects.Skip(1).First();
|
var drawable = Player.DrawableRuleset.Playfield.AllHitObjects.Skip(1).First();
|
||||||
repeat = drawable.ChildrenOfType<Container<DrawableSliderRepeat>>().First().Children.First();
|
repeat = drawable.ChildrenOfType<Container<DrawableSliderRepeat>>().First().Children.First();
|
||||||
});
|
});
|
||||||
AddStep("Save repeat vector", () => savedVector = repeat.Position);
|
AddStep("Save repeat vector", () => savedVector = repeat.Position);
|
||||||
addSeekStep(13700);
|
addSeekStep(16700);
|
||||||
|
|
||||||
AddAssert($"Repeat vector {(isHit ? "is same" : "decreased")}", () =>
|
AddAssert($"Repeat vector {(isHit ? "is same" : "decreased")}", () =>
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user