mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 02:43:19 +08:00
Update test to account for the fact that SSDQ is not zero anymore
This commit is contained in:
parent
68ea5a765f
commit
6aac0bd4e9
@ -78,8 +78,9 @@ namespace osu.Game.Tests.Visual.Gameplay
|
||||
|
||||
AddStep("allow skin lookup", () => storyboard.UseSkinSprites = true);
|
||||
AddStep("create sprites", () => SetContents(_ => createSprite(lookup_name, Anchor.TopLeft, Vector2.Zero)));
|
||||
AddAssert("sprites present", () => sprites.All(s => s.IsPresent));
|
||||
AddStep("scale sprite", () => sprites.ForEach(s => s.VectorScale = new Vector2(0, 1)));
|
||||
AddAssert("zero width", () => sprites.All(s => s.ScreenSpaceDrawQuad.Width == 0));
|
||||
AddAssert("sprites not present", () => sprites.All(s => s.IsPresent));
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
Loading…
Reference in New Issue
Block a user