1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 22:35:23 +08:00

test: make test not actually test anything

This commit is contained in:
tsrk 2023-01-09 22:21:34 +01:00
parent 48deef4056
commit eac8e9f6fb
No known key found for this signature in database
GPG Key ID: EBD46BB3049B56D6

View File

@ -39,14 +39,10 @@ namespace osu.Game.Tests.Visual.Gameplay
}
[Test]
public void TestGraphRecreation()
public void Test()
{
AddAssert("ensure not created", () => graph!.CreationCount == 0);
AddStep("display values", displayRandomValues);
AddUntilStep("wait for creation count", () => graph!.CreationCount == 1);
AddRepeatStep("new values", displayRandomValues, 5);
AddWaitStep("wait some", 5);
AddAssert("ensure recreation debounced", () => graph!.CreationCount == 2);
}
private void displayRandomValues()