mirror of
https://github.com/osukey/osukey.git
synced 2025-05-01 11:47:18 +09:00
42 lines
1.3 KiB
C#
42 lines
1.3 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;
|
|
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
|
|
});
|
|
}
|
|
}
|