Add out-of-bounds tests to test case

This commit is contained in:
Dean Herbert 2024-09-05 13:07:49 +09:00
parent 08ebc83a89
commit ee26ff2e29
No known key found for this signature in database

View File

@ -94,8 +94,8 @@ namespace osu.Game.Rulesets.Osu.Tests
for (int i = 0; i < 1000; i++)
{
posX = Math.Clamp(posX + random.Next(-20, 21), 0, 500);
posY = Math.Clamp(posY + random.Next(-20, 21), 0, 500);
posX = Math.Clamp(posX + random.Next(-20, 21), -100, 600);
posY = Math.Clamp(posY + random.Next(-20, 21), -100, 600);
var actions = new List<OsuAction>();