1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 12:57:36 +08:00

Add test case covering ignoring non-basic results

This commit is contained in:
Bartłomiej Dach 2024-04-25 11:19:29 +02:00
parent 6905257869
commit 9e919b784d
No known key found for this signature in database

View File

@ -82,6 +82,14 @@ namespace osu.Game.Tests.Visual.Ranking
}).ToList());
}
[Test]
public void TestNonBasicHitResultsAreIgnored()
{
createTest(CreateDistributedHitEvents(0, 50)
.Select(h => new HitEvent(h.TimeOffset, 1.0, h.TimeOffset > 0 ? HitResult.Ok : HitResult.LargeTickHit, placeholder_object, placeholder_object, null))
.ToList());
}
[Test]
public void TestMultipleWindowsOfHitResult()
{