mirror of
https://github.com/ppy/osu
synced 2024-12-28 01:42:57 +00:00
Use static local method fixed for roslyn 3.4
This commit is contained in:
parent
8b57023349
commit
cea3a66d4a
@ -44,7 +44,7 @@ namespace osu.Game.Tests.Visual.Online
|
|||||||
AddStep("set second set", () => details.BeatmapSet = secondSet);
|
AddStep("set second set", () => details.BeatmapSet = secondSet);
|
||||||
AddAssert("ratings set", () => details.Ratings.Metrics == secondSet.Metrics);
|
AddAssert("ratings set", () => details.Ratings.Metrics == secondSet.Metrics);
|
||||||
|
|
||||||
BeatmapSetInfo createSet() => new BeatmapSetInfo
|
static BeatmapSetInfo createSet() => new BeatmapSetInfo
|
||||||
{
|
{
|
||||||
Metrics = new BeatmapSetMetrics { Ratings = Enumerable.Range(0, 11).Select(_ => RNG.Next(10)).ToArray() },
|
Metrics = new BeatmapSetMetrics { Ratings = Enumerable.Range(0, 11).Select(_ => RNG.Next(10)).ToArray() },
|
||||||
Beatmaps = new List<BeatmapInfo>
|
Beatmaps = new List<BeatmapInfo>
|
||||||
|
Loading…
Reference in New Issue
Block a user