1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 09:27:29 +08:00

Remove warning for 10K+

This commit is contained in:
Arthur Araujo 2024-03-20 16:51:27 -03:00
parent c605e463a4
commit 2d6a3b8e2b
2 changed files with 0 additions and 28 deletions

View File

@ -55,18 +55,6 @@ namespace osu.Game.Rulesets.Mania.Tests.Editor.Checks
Assert.That(issues.Single().Template is CheckKeyCount.IssueTemplateKeycountTooLow);
}
[Test]
public void TestKeycountHigherThanTen()
{
beatmap.Difficulty.CircleSize = 11;
var context = getContext();
var issues = check.Run(context).ToList();
Assert.That(issues, Has.Count.EqualTo(1));
Assert.That(issues.Single().Template is CheckKeyCount.IssueTemplateKeycountNonStandard);
}
private BeatmapVerifierContext getContext()
{
return new BeatmapVerifierContext(beatmap, new TestWorkingBeatmap(beatmap));

View File

@ -14,7 +14,6 @@ namespace osu.Game.Rulesets.Mania.Edit.Checks
public IEnumerable<IssueTemplate> PossibleTemplates => new IssueTemplate[]
{
new IssueTemplateKeycountTooLow(this),
new IssueTemplateKeycountNonStandard(this),
};
public IEnumerable<Issue> Run(BeatmapVerifierContext context)
@ -25,11 +24,6 @@ namespace osu.Game.Rulesets.Mania.Edit.Checks
{
yield return new IssueTemplateKeycountTooLow(this).Create(diff.CircleSize);
}
if (diff.CircleSize > 10)
{
yield return new IssueTemplateKeycountNonStandard(this).Create(diff.CircleSize);
}
}
public class IssueTemplateKeycountTooLow : IssueTemplate
@ -41,15 +35,5 @@ namespace osu.Game.Rulesets.Mania.Edit.Checks
public Issue Create(float current) => new Issue(this, current);
}
public class IssueTemplateKeycountNonStandard : IssueTemplate
{
public IssueTemplateKeycountNonStandard(ICheck check)
: base(check, IssueType.Warning, "Key count {0} is higher than 10.")
{
}
public Issue Create(float current) => new Issue(this, current);
}
}
}