1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 12:53:11 +08:00
This commit is contained in:
Piggey 2022-11-17 21:42:15 +01:00
parent eb8f6626ab
commit 53769479c7

View File

@ -108,7 +108,7 @@ namespace osu.Game.Tests.Visual.Gameplay
AddAssert("leaderboard still visible", () => leaderboard.Alpha == 1);
}
private static List<ScoreInfo> createSampleScores(int numRandScores = 50)
private static List<ScoreInfo> createSampleScores()
{
return new[]
{
@ -117,7 +117,7 @@ namespace osu.Game.Tests.Visual.Gameplay
new ScoreInfo { User = new APIUser { Username = @"spaceman_atlas" }, TotalScore = RNG.Next(500000, 1000000) },
new ScoreInfo { User = new APIUser { Username = @"frenzibyte" }, TotalScore = RNG.Next(500000, 1000000) },
new ScoreInfo { User = new APIUser { Username = @"Susko3" }, TotalScore = RNG.Next(500000, 1000000) },
}.Concat(Enumerable.Range(0, 49 - 5).Select(i => new ScoreInfo { User = new APIUser { Username = $"User {i + 1}" }, TotalScore = 1000000 - i * 10000 })).ToList();
}.Concat(Enumerable.Range(0, 44).Select(i => new ScoreInfo { User = new APIUser { Username = $"User {i + 1}" }, TotalScore = 1000000 - i * 10000 })).ToList();
}
}
}