Update test in line with new rank definitions always being applied

This commit is contained in:
Dean Herbert 2024-01-22 20:25:36 +09:00
parent c8521b49cd
commit bb1eab5844
No known key found for this signature in database

View File

@ -293,7 +293,7 @@ namespace osu.Game.Tests.Beatmaps.Formats
}
[Test]
public void AccuracyAndRankOfLazerScorePreserved()
public void AccuracyOfLazerScorePreserved()
{
var ruleset = new OsuRuleset().RulesetInfo;
@ -322,7 +322,7 @@ namespace osu.Game.Tests.Beatmaps.Formats
Assert.Multiple(() =>
{
Assert.That(decodedAfterEncode.ScoreInfo.Accuracy, Is.EqualTo((double)(199 * 300 + 30) / (200 * 300 + 30)));
Assert.That(decodedAfterEncode.ScoreInfo.Rank, Is.EqualTo(ScoreRank.SH));
Assert.That(decodedAfterEncode.ScoreInfo.Rank, Is.EqualTo(ScoreRank.A));
});
}