Add failing test case

This commit is contained in:
Bartłomiej Dach 2022-12-06 22:46:39 +01:00
parent e47f933cdc
commit 0bfc46963b
No known key found for this signature in database

View File

@ -126,6 +126,21 @@ namespace osu.Game.Tests.Visual.UserInterface
checkBindableAtValue("Circle Size", 9); checkBindableAtValue("Circle Size", 9);
} }
[Test]
public void TestExtendedLimitsRetainedAfterBoundCopyCreation()
{
setExtendedLimits(true);
setSliderValue("Circle Size", 11);
checkSliderAtValue("Circle Size", 11);
checkBindableAtValue("Circle Size", 11);
AddStep("create bound copy", () => _ = modDifficultyAdjust.CircleSize.GetBoundCopy());
checkSliderAtValue("Circle Size", 11);
checkBindableAtValue("Circle Size", 11);
}
[Test] [Test]
public void TestResetToDefault() public void TestResetToDefault()
{ {