Add testing of different strengths

This commit is contained in:
Dean Herbert 2022-02-02 16:15:14 +09:00
parent f07502ac5f
commit 987aa5a21c
1 changed files with 9 additions and 5 deletions

View File

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