mirror of
https://github.com/ppy/osu
synced 2025-03-04 18:40:24 +00:00
Bring back comment about AlmostEquals
This commit is contained in:
parent
7135c99746
commit
f9e44ae53e
@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||||
// See the LICENCE file in the repository root for full licence text.
|
// See the LICENCE file in the repository root for full licence text.
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
@ -117,6 +117,8 @@ namespace osu.Game.Rulesets.Osu.Tests
|
|||||||
setSnaking(true);
|
setSnaking(true);
|
||||||
base.SetUpSteps();
|
base.SetUpSteps();
|
||||||
|
|
||||||
|
// repeat might have a chance to update its position depending on where in the frame its hit,
|
||||||
|
// so some leniency is allowed here instead of checking strict equality
|
||||||
checkPositionChange(16600, sliderRepeat, positionAlmostSame);
|
checkPositionChange(16600, sliderRepeat, positionAlmostSame);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user