1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-26 02:22:54 +08:00
osu-lazer/osu.Game.Rulesets.Osu.Tests/Mods/TestSceneOsuModFreezeFrame.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
764 B
C#
Raw Normal View History

2022-09-10 05:13:19 +08: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.
using NUnit.Framework;
using osu.Game.Rulesets.Osu.Mods;
namespace osu.Game.Rulesets.Osu.Tests.Mods
{
public class TestSceneOsuModFreezeFrame : OsuModTestScene
{
[TestCase(0.5f)]
[TestCase(1)]
[TestCase(2)]
public void TestFreezeFrequency(float beatMeasure)
{
CreateModTest(new ModTestData
{
Mod = new OsuModFreezeFrame
{
BeatDivisor = { Value = beatMeasure }
},
PassCondition = () => true,
Autoplay = true
});
}
}
}