1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 20:07:25 +08:00

Add scaling to the test

This commit is contained in:
smoogipoo 2019-09-11 13:40:53 +09:00
parent 562280ced0
commit e408efff49

View File

@ -24,7 +24,15 @@ namespace osu.Game.Rulesets.Osu.Tests
[Test] [Test]
public void TestSmoothCursorTrail() public void TestSmoothCursorTrail()
{ {
createTest(() => new CursorTrail()); Container scalingContainer = null;
createTest(() => scalingContainer = new Container
{
RelativeSizeAxes = Axes.Both,
Child = new CursorTrail()
});
AddStep("set large scale", () => scalingContainer.Scale = new Vector2(10));
} }
[Test] [Test]