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