mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 04:13:21 +08:00
Reset audio offset before each test run in TestSceneMasterGameplayClockContainer
This commit is contained in:
parent
fbf0e5a45c
commit
c8db7cf2a8
@ -26,6 +26,12 @@ namespace osu.Game.Tests.Gameplay
|
|||||||
Dependencies.Cache(localConfig = new OsuConfigManager(LocalStorage));
|
Dependencies.Cache(localConfig = new OsuConfigManager(LocalStorage));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[SetUpSteps]
|
||||||
|
public void SetUpSteps()
|
||||||
|
{
|
||||||
|
AddStep("reset audio offset", () => localConfig.SetValue(OsuSetting.AudioOffset, 0.0));
|
||||||
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void TestStartThenElapsedTime()
|
public void TestStartThenElapsedTime()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user