mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:42:55 +08:00
Fix weird test assertion output
This commit is contained in:
parent
168b6c70a9
commit
51b0d18c04
@ -197,7 +197,7 @@ namespace osu.Game.Tests.Visual.Gameplay
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void checkValidObjectIndex(int index) =>
|
private void checkValidObjectIndex(int index) =>
|
||||||
AddAssert($"check valid object is {index}", () => sampleTriggerSource.GetMostValidObject(), () => Is.EqualTo(beatmap.HitObjects[index]));
|
AddAssert($"check object at index {index} is correct", () => sampleTriggerSource.GetMostValidObject(), () => Is.EqualTo(beatmap.HitObjects[index]));
|
||||||
|
|
||||||
private DrawableHitObject? getNextAliveObject() =>
|
private DrawableHitObject? getNextAliveObject() =>
|
||||||
Player.DrawableRuleset.Playfield.HitObjectContainer.AliveObjects.FirstOrDefault();
|
Player.DrawableRuleset.Playfield.HitObjectContainer.AliveObjects.FirstOrDefault();
|
||||||
|
Loading…
Reference in New Issue
Block a user