// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Linq; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Testing; using osu.Game.Beatmaps; using osu.Game.Database; using osu.Game.Screens.Menu; namespace osu.Game.Tests.Visual.Menus { public partial class TestSceneMainMenuSeasonalLighting : OsuTestScene { [Resolved] private BeatmapManager beatmaps { get; set; } = null!; [Resolved] private RealmAccess realm { get; set; } = null!; [SetUpSteps] public void SetUpSteps() { AddStep("prepare beatmap", () => { var setInfo = beatmaps.QueryBeatmapSet(b => b.Protected && b.Hash == "7e26183e72a496f672c3a21292e6b469fdecd084d31c259ea10a31df5b46cd77"); Beatmap.Value = beatmaps.GetWorkingBeatmap(setInfo!.Value.Beatmaps.First()); }); AddStep("create lighting", () => Child = new MainMenuSeasonalLighting()); AddStep("restart beatmap", () => { Beatmap.Value.Track.Start(); Beatmap.Value.Track.Seek(4000); }); } [Test] public void TestBasic() { } } }