mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 17:02:57 +08:00
Update TestSceneObjectOrderedHitPolicy
to provide better output
This commit is contained in:
parent
72b594d72e
commit
614011d612
@ -377,7 +377,7 @@ namespace osu.Game.Rulesets.Osu.Tests
|
||||
private void addJudgementAssert(OsuHitObject hitObject, HitResult result)
|
||||
{
|
||||
AddAssert($"({hitObject.GetType().ReadableName()} @ {hitObject.StartTime}) judgement is {result}",
|
||||
() => judgementResults.Single(r => r.HitObject == hitObject).Type == result);
|
||||
() => judgementResults.Single(r => r.HitObject == hitObject).Type, () => Is.EqualTo(result));
|
||||
}
|
||||
|
||||
private void addJudgementAssert(string name, Func<OsuHitObject> hitObject, HitResult result)
|
||||
|
Loading…
Reference in New Issue
Block a user