Pass GameplayStartTime to FrameStabilityContainer to allow bypassing prior to start

This commit is contained in:
Dean Herbert
2019-05-09 16:36:47 +09:00
parent 3f702d13a3
commit 66594b7a1b
3 changed files with 28 additions and 2 deletions

View File

@ -73,6 +73,26 @@ namespace osu.Game.Tests.Visual.Gameplay
checkFrameCount(2);
}
[Test]
public void TestInitialSeekWithGameplayStart()
{
seekManualTo(1000);
createStabilityContainer(30000);
confirmSeek(1000);
checkFrameCount(0);
seekManualTo(10000);
confirmSeek(10000);
checkFrameCount(1);
seekManualTo(130000);
confirmSeek(130000);
checkFrameCount(6002);
}
[Test]
public void TestInitialSeek()
{