Skip to content

Commit

Permalink
Fix assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
smoogipoo committed Dec 17, 2023
1 parent 2b33aec commit 04d5421
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 04d5421

Please sign in to comment.