mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 07:22:54 +08:00
Fix arrow direction test
This commit is contained in:
parent
73d164e0d0
commit
257de9d08b
@ -47,9 +47,9 @@ namespace osu.Game.Tests.Visual.UserInterface
|
||||
public void TestArrowDirection()
|
||||
{
|
||||
AddStep("Set upwards", () => button.SetIconDirection(true));
|
||||
AddAssert("Icon facing upwards", () => button.Icon.Scale.Y == -1);
|
||||
AddUntilStep("Icon facing upwards", () => button.Icon.Scale.Y == -1);
|
||||
AddStep("Set downwards", () => button.SetIconDirection(false));
|
||||
AddAssert("Icon facing downwards", () => button.Icon.Scale.Y == 1);
|
||||
AddUntilStep("Icon facing downwards", () => button.Icon.Scale.Y == 1);
|
||||
}
|
||||
|
||||
private partial class TestButton : CommentRepliesButton
|
||||
|
Loading…
Reference in New Issue
Block a user