mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 20:53:04 +08:00
Move all sets to object initialiser for code formatting reasons
This commit is contained in:
parent
3b19467ead
commit
fadebcdc03
@ -17,22 +17,25 @@ namespace osu.Game.Rulesets.Osu.Tests.Mods
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void TestNoAdjustment() => CreateModTest(new ModTestData(new OsuModDifficultyAdjust())
|
public void TestNoAdjustment() => CreateModTest(new ModTestData()
|
||||||
{
|
{
|
||||||
|
Mod = new OsuModDifficultyAdjust(),
|
||||||
Autoplay = true,
|
Autoplay = true,
|
||||||
PassCondition = () => ((ScoreAccessibleTestPlayer)Player).ScoreProcessor.JudgedHits >= 2
|
PassCondition = () => ((ScoreAccessibleTestPlayer)Player).ScoreProcessor.JudgedHits >= 2
|
||||||
});
|
});
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void TestCircleSize10() => CreateModTest(new ModTestData(new OsuModDifficultyAdjust { CircleSize = { Value = 10 } })
|
public void TestCircleSize10() => CreateModTest(new ModTestData
|
||||||
{
|
{
|
||||||
|
Mod = new OsuModDifficultyAdjust { CircleSize = { Value = 10 } },
|
||||||
Autoplay = true,
|
Autoplay = true,
|
||||||
PassCondition = () => ((ScoreAccessibleTestPlayer)Player).ScoreProcessor.JudgedHits >= 2
|
PassCondition = () => ((ScoreAccessibleTestPlayer)Player).ScoreProcessor.JudgedHits >= 2
|
||||||
});
|
});
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void TestApproachRate10() => CreateModTest(new ModTestData(new OsuModDifficultyAdjust { ApproachRate = { Value = 10 } })
|
public void TestApproachRate10() => CreateModTest(new ModTestData
|
||||||
{
|
{
|
||||||
|
Mod = new OsuModDifficultyAdjust { ApproachRate = { Value = 10 } },
|
||||||
Autoplay = true,
|
Autoplay = true,
|
||||||
PassCondition = () => ((ScoreAccessibleTestPlayer)Player).ScoreProcessor.JudgedHits >= 2
|
PassCondition = () => ((ScoreAccessibleTestPlayer)Player).ScoreProcessor.JudgedHits >= 2
|
||||||
});
|
});
|
||||||
|
@ -100,12 +100,7 @@ namespace osu.Game.Tests.Visual
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// The <see cref="Mod"/> this test case tests.
|
/// The <see cref="Mod"/> this test case tests.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public readonly Mod Mod;
|
public Mod Mod;
|
||||||
|
|
||||||
public ModTestData(Mod mod)
|
|
||||||
{
|
|
||||||
Mod = mod;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user