Add failing test coverage showing hitobject local control points are defaults

This commit is contained in:
Dean Herbert 2021-10-26 16:06:02 +09:00
parent 5e5b86a1f4
commit b259192a8a
1 changed files with 5 additions and 0 deletions

View File

@ -56,6 +56,11 @@ public void TestNewBeatmapSaveThenLoad()
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();