mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 22:22:54 +08:00
Adjust tests to not rely on invalid assumption
This commit is contained in:
parent
250c7403e8
commit
f3ea51eeed
@ -81,6 +81,13 @@ namespace osu.Game.Tests.Visual.Components
|
||||
[Test]
|
||||
public void TestMovement()
|
||||
{
|
||||
checkIdleStatus(1, false);
|
||||
checkIdleStatus(2, false);
|
||||
checkIdleStatus(3, false);
|
||||
checkIdleStatus(4, false);
|
||||
|
||||
waitForAllIdle();
|
||||
|
||||
AddStep("move to top right", () => InputManager.MoveMouseTo(box2));
|
||||
|
||||
checkIdleStatus(1, true);
|
||||
@ -102,6 +109,8 @@ namespace osu.Game.Tests.Visual.Components
|
||||
[Test]
|
||||
public void TestTimings()
|
||||
{
|
||||
waitForAllIdle();
|
||||
|
||||
AddStep("move to centre", () => InputManager.MoveMouseTo(Content));
|
||||
|
||||
checkIdleStatus(1, false);
|
||||
|
Loading…
Reference in New Issue
Block a user