mirror of
https://github.com/ppy/osu
synced 2024-12-25 08:12:41 +00:00
Add out-of-bounds tests to test case
This commit is contained in:
parent
08ebc83a89
commit
ee26ff2e29
@ -94,8 +94,8 @@ namespace osu.Game.Rulesets.Osu.Tests
|
|||||||
|
|
||||||
for (int i = 0; i < 1000; i++)
|
for (int i = 0; i < 1000; i++)
|
||||||
{
|
{
|
||||||
posX = Math.Clamp(posX + random.Next(-20, 21), 0, 500);
|
posX = Math.Clamp(posX + random.Next(-20, 21), -100, 600);
|
||||||
posY = Math.Clamp(posY + random.Next(-20, 21), 0, 500);
|
posY = Math.Clamp(posY + random.Next(-20, 21), -100, 600);
|
||||||
|
|
||||||
var actions = new List<OsuAction>();
|
var actions = new List<OsuAction>();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user