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:
parent
589ce4bdc2
commit
b49997f531
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user