mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:07:52 +08:00
Make test fail as expected
This commit is contained in:
parent
2fc53a278d
commit
c53a8fafe6
@ -95,9 +95,19 @@ namespace osu.Game.Rulesets.Osu.Tests
|
||||
{
|
||||
addMultipleObjectsStep();
|
||||
|
||||
AddStep("move hitobject", () => getObject(2).HitObject.Position = new Vector2(300, 100));
|
||||
AddStep("move hitobject", () =>
|
||||
{
|
||||
var manualClock = new ManualClock();
|
||||
followPointRenderer.Clock = new FramedClock(manualClock);
|
||||
|
||||
manualClock.CurrentTime = getObject(1).HitObject.StartTime;
|
||||
followPointRenderer.UpdateSubTree();
|
||||
|
||||
getObject(2).HitObject.Position = new Vector2(300, 100);
|
||||
});
|
||||
|
||||
assertGroups();
|
||||
assertDirections();
|
||||
}
|
||||
|
||||
[TestCase(0, 0)] // Start -> Start
|
||||
|
Loading…
Reference in New Issue
Block a user