Add tests and fix negative expected distances

This commit is contained in:
smoogipoo
2019-12-06 15:37:00 +09:00
parent 27dd12a66d
commit 2654710d91
2 changed files with 35 additions and 0 deletions

View File

@ -262,6 +262,7 @@ namespace osu.Game.Rulesets.Objects
{
// The expected distance is negative or zero
// TODO: Perhaps negative path lengths should be disallowed altogether
cumulativeLength.Add(0);
return;
}