mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 22:22:55 +08:00
Update override matching test to match expectations
This commit is contained in:
parent
f9cd7f10d8
commit
51bd83b3f4
@ -139,19 +139,22 @@ namespace osu.Game.Tests.Visual.UserInterface
|
||||
[Test]
|
||||
public void TestUserOverrideMaintainedOnMatchingBeatmapValue()
|
||||
{
|
||||
setBeatmapWithDifficultyParameters(2);
|
||||
setBeatmapWithDifficultyParameters(3);
|
||||
|
||||
checkSliderAtValue("Circle Size", 2);
|
||||
checkSliderAtValue("Circle Size", 3);
|
||||
checkBindableAtValue("Circle Size", null);
|
||||
|
||||
setSliderValue("Circle Size", 9);
|
||||
checkSliderAtValue("Circle Size", 9);
|
||||
checkBindableAtValue("Circle Size", 9);
|
||||
// need to initially change it away from the current beatmap value to trigger an override.
|
||||
setSliderValue("Circle Size", 4);
|
||||
setSliderValue("Circle Size", 3);
|
||||
|
||||
checkSliderAtValue("Circle Size", 3);
|
||||
checkBindableAtValue("Circle Size", 3);
|
||||
|
||||
setBeatmapWithDifficultyParameters(4);
|
||||
|
||||
checkSliderAtValue("Circle Size", 9);
|
||||
checkBindableAtValue("Circle Size", 9);
|
||||
checkSliderAtValue("Circle Size", 3);
|
||||
checkBindableAtValue("Circle Size", 3);
|
||||
}
|
||||
|
||||
private void resetToDefault(string name)
|
||||
|
Loading…
Reference in New Issue
Block a user