mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 10:07:27 +08:00
Fix outdated test step description
This commit is contained in:
parent
16f98357e6
commit
7327603fc8
@ -35,17 +35,17 @@ namespace osu.Game.Tests.Visual.Gameplay
|
|||||||
[SetUpSteps]
|
[SetUpSteps]
|
||||||
public void SetUpSteps()
|
public void SetUpSteps()
|
||||||
{
|
{
|
||||||
AddStep("create jet", () => Child = spewer = createSpewer());
|
AddStep("create spewer", () => Child = spewer = createSpewer());
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void TestPresence()
|
public void TestPresence()
|
||||||
{
|
{
|
||||||
AddStep("start jet", () => spewer.Active.Value = true);
|
AddStep("start spewer", () => spewer.Active.Value = true);
|
||||||
AddAssert("is present", () => spewer.IsPresent);
|
AddAssert("is present", () => spewer.IsPresent);
|
||||||
|
|
||||||
AddWaitStep("wait for some particles", 3);
|
AddWaitStep("wait for some particles", 3);
|
||||||
AddStep("stop jet", () => spewer.Active.Value = false);
|
AddStep("stop spewer", () => spewer.Active.Value = false);
|
||||||
|
|
||||||
AddWaitStep("wait for clean screen", 8);
|
AddWaitStep("wait for clean screen", 8);
|
||||||
AddAssert("is not present", () => !spewer.IsPresent);
|
AddAssert("is not present", () => !spewer.IsPresent);
|
||||||
|
Loading…
Reference in New Issue
Block a user