2021-06-04 05:06:23 +00:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
2022-06-17 07:37:17 +00:00
|
|
|
#nullable disable
|
|
|
|
|
2021-06-04 05:06:23 +00:00
|
|
|
using NUnit.Framework;
|
|
|
|
using osu.Game.Beatmaps;
|
|
|
|
using osu.Game.Beatmaps.ControlPoints;
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Osu.Tests
|
|
|
|
{
|
|
|
|
[TestFixture]
|
|
|
|
public partial class TestSceneHitCircleKiai : TestSceneHitCircle
|
|
|
|
{
|
|
|
|
[SetUp]
|
|
|
|
public void SetUp() => Schedule(() =>
|
|
|
|
{
|
|
|
|
var controlPointInfo = new ControlPointInfo();
|
|
|
|
|
|
|
|
controlPointInfo.Add(0, new TimingControlPoint { BeatLength = 500 });
|
|
|
|
controlPointInfo.Add(0, new EffectControlPoint { KiaiMode = true });
|
|
|
|
|
|
|
|
Beatmap.Value = CreateWorkingBeatmap(new Beatmap
|
|
|
|
{
|
|
|
|
ControlPointInfo = controlPointInfo
|
|
|
|
});
|
|
|
|
|
|
|
|
// track needs to be playing for BeatSyncedContainer to work.
|
|
|
|
Beatmap.Value.Track.Start();
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|