Fix assertions

This commit is contained in:
Dan Balasescu 2023-12-17 21:52:21 +09:00
parent 2b33aec124
commit 04d542105f
No known key found for this signature in database
1 changed files with 4 additions and 4 deletions

View File

@ -374,10 +374,10 @@ public void TestLateHitSliderStream()
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)