// Copyright (c) ppy Pty Ltd . 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; using osu.Game.Tests.Visual; namespace osu.Game.Rulesets.Osu.Tests.Mods { public class TestSceneOsuModDifficultyAdjust : ModTestScene { public TestSceneOsuModDifficultyAdjust() : base(new OsuRuleset()) { } [Test] public void TestNoAdjustment() => CreateModTest(new ModTestData { Mod = new OsuModDifficultyAdjust(), Autoplay = true, PassCondition = () => Player.ScoreProcessor.JudgedHits >= 2 }); [Test] public void TestCircleSize10() => CreateModTest(new ModTestData { Mod = new OsuModDifficultyAdjust { CircleSize = { Value = 10 } }, Autoplay = true, PassCondition = () => Player.ScoreProcessor.JudgedHits >= 2 }); [Test] public void TestApproachRate10() => CreateModTest(new ModTestData { Mod = new OsuModDifficultyAdjust { ApproachRate = { Value = 10 } }, Autoplay = true, PassCondition = () => Player.ScoreProcessor.JudgedHits >= 2 }); } }