1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 19:22:54 +08:00

Update tests to reflect new restore target volume

This commit is contained in:
Mike Will 2024-02-02 02:59:02 -05:00
parent f4a2d5f3f4
commit 5d9200b4fe

View File

@ -268,9 +268,9 @@ namespace osu.Game.Tests.Visual.Gameplay
{ {
addVolumeSteps("high master volume", () => addVolumeSteps("high master volume", () =>
{ {
audioManager.Volume.Value = 0.1; audioManager.Volume.Value = 0.15;
audioManager.VolumeTrack.Value = 0.01; audioManager.VolumeTrack.Value = 0.01;
}, () => audioManager.Volume.Value == 0.1 && audioManager.VolumeTrack.Value == 0.32); }, () => audioManager.Volume.Value == 0.15 && audioManager.VolumeTrack.Value == 0.67);
} }
[Test] [Test]
@ -279,8 +279,8 @@ namespace osu.Game.Tests.Visual.Gameplay
addVolumeSteps("low master volume", () => addVolumeSteps("low master volume", () =>
{ {
audioManager.Volume.Value = 0.01; audioManager.Volume.Value = 0.01;
audioManager.VolumeTrack.Value = 0.1; audioManager.VolumeTrack.Value = 0.15;
}, () => audioManager.Volume.Value == 0.03 && audioManager.VolumeTrack.Value == 1); }, () => audioManager.Volume.Value == 0.1 && audioManager.VolumeTrack.Value == 1);
} }
[Test] [Test]