1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:52:53 +08:00

Add test for selected hit object blueprint

This commit is contained in:
ekrctb 2022-10-06 14:02:49 +09:00
parent 29cc554632
commit 0ade049252

View File

@ -311,6 +311,7 @@ namespace osu.Game.Tests.Visual.Editing
AddStep("jump editor clock", () => EditorClock.Seek(60000));
AddStep("end drag", () => InputManager.ReleaseButton(MouseButton.Left));
assertSelectionIs(addedObjects.Skip(1));
AddAssert("all blueprints are present", () => blueprintContainer.SelectionBlueprints.Count == EditorBeatmap.SelectedHitObjects.Count);
}
private void assertSelectionIs(IEnumerable<HitObject> hitObjects)