mirror of
https://github.com/ppy/osu.git
synced 2025-02-20 18:43:04 +08:00
Fix potential test failure due to precision check missing
This commit is contained in:
parent
c9a41f9dae
commit
09f2a85d71
@ -51,7 +51,7 @@ namespace osu.Game.Rulesets.Osu.Tests.Editor
|
||||
var first = (OsuHitObject)objects.First();
|
||||
var second = (OsuHitObject)objects.Last();
|
||||
|
||||
return first.Position == second.Position;
|
||||
return Precision.AlmostEquals(first.EndPosition, second.Position);
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user