mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 21:43:22 +08:00
Remove unused "name" parameter
This commit is contained in:
parent
2a581ef247
commit
0f1f1d1a6b
@ -17,21 +17,21 @@ namespace osu.Game.Rulesets.Osu.Tests.Mods
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void TestNoAdjustment() => CreateModTest(new ModTestCaseData("no adjustment", new OsuModDifficultyAdjust())
|
public void TestNoAdjustment() => CreateModTest(new ModTestCaseData(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 ModTestCaseData("cs = 10", new OsuModDifficultyAdjust { CircleSize = { Value = 10 } })
|
public void TestCircleSize10() => CreateModTest(new ModTestCaseData(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 ModTestCaseData("ar = 10", new OsuModDifficultyAdjust { ApproachRate = { Value = 10 } })
|
public void TestApproachRate10() => CreateModTest(new ModTestCaseData(new OsuModDifficultyAdjust { ApproachRate = { Value = 10 } })
|
||||||
{
|
{
|
||||||
Autoplay = true,
|
Autoplay = true,
|
||||||
PassCondition = () => ((ScoreAccessibleTestPlayer)Player).ScoreProcessor.JudgedHits >= 2
|
PassCondition = () => ((ScoreAccessibleTestPlayer)Player).ScoreProcessor.JudgedHits >= 2
|
||||||
|
@ -97,19 +97,13 @@ namespace osu.Game.Tests.Visual
|
|||||||
[CanBeNull]
|
[CanBeNull]
|
||||||
public Func<bool> PassCondition;
|
public Func<bool> PassCondition;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// The name of this test case, displayed in the test browser.
|
|
||||||
/// </summary>
|
|
||||||
public readonly string Name;
|
|
||||||
|
|
||||||
/// <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 readonly Mod Mod;
|
||||||
|
|
||||||
public ModTestCaseData(string name, Mod mod)
|
public ModTestCaseData(Mod mod)
|
||||||
{
|
{
|
||||||
Name = name;
|
|
||||||
Mod = mod;
|
Mod = mod;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user