mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:33:30 +08:00
Add one more complex test
This commit is contained in:
parent
0461303895
commit
dd5a3b2bf3
@ -134,6 +134,17 @@ namespace osu.Game.Tests.Visual.Gameplay
|
||||
});
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestComplex()
|
||||
{
|
||||
AddStep("create path", () =>
|
||||
{
|
||||
path.ControlPoints.AddRange(createSegment(PathType.Linear, Vector2.Zero, new Vector2(100, 0)));
|
||||
path.ControlPoints.AddRange(createSegment(PathType.Bezier, new Vector2(100, 0), new Vector2(150, 30), new Vector2(100, 100)));
|
||||
path.ControlPoints.AddRange(createSegment(PathType.PerfectCurve, new Vector2(100, 100), new Vector2(25, 50), Vector2.Zero));
|
||||
});
|
||||
}
|
||||
|
||||
[TestCase(0, 100)]
|
||||
[TestCase(1, 100)]
|
||||
[TestCase(5, 100)]
|
||||
|
Loading…
Reference in New Issue
Block a user