mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 01:23:44 +08:00
26 lines
1.1 KiB
C#
26 lines
1.1 KiB
C#
// 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 partial class TestSceneOsuModFlashlight : OsuModTestScene
|
|
{
|
|
[TestCase(600)]
|
|
[TestCase(120)]
|
|
[TestCase(1200)]
|
|
public void TestFollowDelay(double followDelay) => CreateModTest(new ModTestData { Mod = new OsuModFlashlight { FollowDelay = { Value = followDelay } }, PassCondition = () => true });
|
|
|
|
[TestCase(1f)]
|
|
[TestCase(0.5f)]
|
|
[TestCase(1.5f)]
|
|
[TestCase(2f)]
|
|
public void TestSizeMultiplier(float sizeMultiplier) => CreateModTest(new ModTestData { Mod = new OsuModFlashlight { SizeMultiplier = { Value = sizeMultiplier } }, PassCondition = () => true });
|
|
|
|
[Test]
|
|
public void TestComboBasedSize([Values] bool comboBasedSize) => CreateModTest(new ModTestData { Mod = new OsuModFlashlight { ComboBasedSize = { Value = comboBasedSize } }, PassCondition = () => true });
|
|
}
|
|
}
|