1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-02 14:10:45 +08:00

Merge pull request #20024 from smoogipoo/populate-maximum-statistics-test

Populate `MaximumStatistics` for test scores
This commit is contained in:
Dean Herbert
2022-08-30 15:44:52 +09:00
committed by GitHub
Unverified
2 changed files with 10 additions and 1 deletions
+9 -1
View File
@@ -194,8 +194,16 @@ namespace osu.Game.Tests.Resources
[HitResult.LargeTickHit] = 100,
[HitResult.LargeTickMiss] = 50,
[HitResult.SmallBonus] = 10,
[HitResult.SmallBonus] = 50
[HitResult.LargeBonus] = 50
},
MaximumStatistics = new Dictionary<HitResult, int>
{
[HitResult.Perfect] = 971,
[HitResult.SmallTickHit] = 75,
[HitResult.LargeTickHit] = 150,
[HitResult.SmallBonus] = 10,
[HitResult.LargeBonus] = 50,
}
};
private class TestModHardRock : ModHardRock
@@ -61,6 +61,7 @@ namespace osu.Game.Tests.Visual.Playlists
userScore = TestResources.CreateTestScoreInfo();
userScore.TotalScore = 0;
userScore.Statistics = new Dictionary<HitResult, int>();
userScore.MaximumStatistics = new Dictionary<HitResult, int>();
bindHandler();