Fix calibration being back-to-front

This commit is contained in:
Dean Herbert
2022-03-01 20:41:54 +09:00
parent 6c09237956
commit 222f50d211
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ namespace osu.Game.Tests.Visual.Gameplay
AddAssert("Has calibration button", () => offsetControl.ChildrenOfType<SettingsButton>().Any());
AddStep("Press button", () => offsetControl.ChildrenOfType<SettingsButton>().Single().TriggerClick());
AddAssert("Offset is adjusted", () => offsetControl.Current.Value == average_error);
AddAssert("Offset is adjusted", () => offsetControl.Current.Value == -average_error);
AddStep("Remove reference score", () => offsetControl.ReferenceScore.Value = null);
AddAssert("No calibration button", () => !offsetControl.ChildrenOfType<SettingsButton>().Any());