1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 18:03:11 +08:00

Update test to actually test what was intended

This commit is contained in:
Dean Herbert 2022-09-08 15:48:04 +09:00
parent 3d9bf25c8a
commit 7b079c134e

View File

@ -80,7 +80,7 @@ namespace osu.Game.Tests.Visual.Gameplay
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("sprites not present", () => sprites.All(s => s.IsPresent));
AddAssert("sprites not present", () => !sprites.All(s => s.IsPresent));
}
[Test]