1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-19 06:32:55 +08:00

Add test for no frames

This commit is contained in:
smoogipoo 2021-04-09 18:18:23 +09:00
parent 589ce4bdc2
commit b49997f531

View File

@ -118,6 +118,13 @@ namespace osu.Game.Tests.Visual.Multiplayer
assertCombo(56, 20); assertCombo(56, 20);
} }
[Test]
public void TestNoFrames()
{
assertCombo(55, 0);
assertCombo(56, 1);
}
private void setTime(double time) => AddStep($"set time {time}", () => private void setTime(double time) => AddStep($"set time {time}", () =>
{ {
foreach (var (_, clock) in clocks) foreach (var (_, clock) in clocks)