1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 02:32:55 +08:00

Use slightly nicer parameterisation in test

This commit is contained in:
Bartłomiej Dach 2024-03-07 09:49:20 +01:00
parent c36232bc02
commit 039520d55d
No known key found for this signature in database

View File

@ -88,9 +88,8 @@ namespace osu.Game.Tests.Visual.Ranking
AddAssert("play time not displayed", () => !this.ChildrenOfType<ExpandedPanelMiddleContent.PlayedOnText>().Any()); AddAssert("play time not displayed", () => !this.ChildrenOfType<ExpandedPanelMiddleContent.PlayedOnText>().Any());
} }
[TestCase(false)] [Test]
[TestCase(true)] public void TestFailedSDisplay([Values] bool withFlair)
public void TestFailedSDisplay(bool withFlair)
{ {
AddStep("show failed S score", () => AddStep("show failed S score", () =>
{ {