Simplify `TestCase` attributes to one `Values` attribute

Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
This commit is contained in:
Salman Ahmed 2022-04-02 19:24:16 +03:00 committed by GitHub
parent beb8426d3b
commit 8534dd3463
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -132,9 +132,8 @@ public void TestCorrectOldContentExpiration()
assertAllCardsOfType<BeatmapCardNormal>(30);
}
[TestCase(false)]
[TestCase(true)]
public void TestCardSizeSwitching(bool viaConfig)
[Test]
public void TestCardSizeSwitching([Values] bool viaConfig)
{
AddAssert("is visible", () => overlay.State.Value == Visibility.Visible);