mirror of
https://github.com/ppy/osu.git
synced 2026-05-23 04:41:54 +08:00
Add failing test coverage showing hitobject local control points are defaults
This commit is contained in:
@@ -56,6 +56,11 @@ namespace osu.Game.Tests.Visual.Editing
|
||||
|
||||
checkMutations();
|
||||
|
||||
// After placement these must be non-default as defaults are read-only.
|
||||
AddAssert("Placed object has non-default control points", () =>
|
||||
editorBeatmap.HitObjects[0].SampleControlPoint != SampleControlPoint.DEFAULT &&
|
||||
editorBeatmap.HitObjects[0].DifficultyControlPoint != DifficultyControlPoint.DEFAULT);
|
||||
|
||||
AddStep("Save", () => InputManager.Keys(PlatformAction.Save));
|
||||
|
||||
checkMutations();
|
||||
|
||||
Reference in New Issue
Block a user