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:
parent
f4a2d5f3f4
commit
5d9200b4fe
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user