1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 16:53:20 +08:00

Add testing of different strengths

This commit is contained in:
Dean Herbert 2022-02-02 16:15:14 +09:00
parent f07502ac5f
commit 987aa5a21c

View File

@ -8,15 +8,19 @@ namespace osu.Game.Rulesets.Osu.Tests.Mods
{ {
public class TestSceneOsuModAimAssist : OsuModTestScene public class TestSceneOsuModAimAssist : OsuModTestScene
{ {
[Test] [TestCase(0.1f)]
public void TestAimAssist() [TestCase(0.5f)]
[TestCase(1)]
public void TestAimAssist(float strength)
{ {
var mod = new OsuModAimAssist();
CreateModTest(new ModTestData CreateModTest(new ModTestData
{ {
Mod = new OsuModAimAssist
{
AssistStrength = { Value = strength },
},
PassCondition = () => true,
Autoplay = false, Autoplay = false,
Mod = mod,
}); });
} }
} }