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:
parent
29cc554632
commit
0ade049252
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user