mirror of https://github.com/ppy/osu
Adjust test to fail
This commit is contained in:
parent
c60f13dd92
commit
0fd445f913
|
@ -200,7 +200,9 @@ public void TestPressAtStartThenReleaseAndImmediatelyRepress()
|
|||
});
|
||||
|
||||
assertHeadJudgement(HitResult.Perfect);
|
||||
assertCombo(1);
|
||||
assertTailJudgement(HitResult.Meh);
|
||||
assertCombo(1);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -519,6 +521,9 @@ private void assertTailJudgement(HitResult result)
|
|||
private void assertNoteJudgement(HitResult result)
|
||||
=> AddAssert($"hold note judged as {result}", () => judgementResults.Single(j => j.HitObject is HoldNote).Type, () => Is.EqualTo(result));
|
||||
|
||||
private void assertCombo(int combo)
|
||||
=> AddAssert($"combo is {combo}", () => currentPlayer.ScoreProcessor.Combo.Value, () => Is.EqualTo(combo));
|
||||
|
||||
private ScoreAccessibleReplayPlayer currentPlayer = null!;
|
||||
|
||||
private void performTest(List<ReplayFrame> frames, Beatmap<ManiaHitObject>? beatmap = null)
|
||||
|
|
Loading…
Reference in New Issue