mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:33:30 +08:00
Fix assertions
This commit is contained in:
parent
2b33aec124
commit
04d542105f
@ -374,10 +374,10 @@ namespace osu.Game.Rulesets.Osu.Tests
|
|||||||
|
|
||||||
performTest(replay, beatmap);
|
performTest(replay, beatmap);
|
||||||
|
|
||||||
assertHeadJudgement(HitResult.Meh);
|
AddAssert(
|
||||||
assertTickJudgement(0, HitResult.LargeTickMiss);
|
$"all heads = {HitResult.Ok}",
|
||||||
assertTailJudgement(HitResult.IgnoreMiss);
|
() => judgementResults.Where(r => r.HitObject is SliderHeadCircle).Select(r => r.Type),
|
||||||
assertSliderJudgement(HitResult.IgnoreHit);
|
() => Has.All.EqualTo(HitResult.Ok));
|
||||||
}
|
}
|
||||||
|
|
||||||
private void assertHeadJudgement(HitResult result)
|
private void assertHeadJudgement(HitResult result)
|
||||||
|
Loading…
Reference in New Issue
Block a user