mirror of
https://github.com/osukey/osukey.git
synced 2025-07-08 19:59:58 +09:00
Make test fail as expected
This commit is contained in:
@ -95,9 +95,19 @@ namespace osu.Game.Rulesets.Osu.Tests
|
|||||||
{
|
{
|
||||||
addMultipleObjectsStep();
|
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();
|
assertGroups();
|
||||||
|
assertDirections();
|
||||||
}
|
}
|
||||||
|
|
||||||
[TestCase(0, 0)] // Start -> Start
|
[TestCase(0, 0)] // Start -> Start
|
||||||
|
Reference in New Issue
Block a user