mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Move distance spacing application to DistanceSnapGrid
This commit is contained in:
@ -62,7 +62,6 @@ namespace osu.Game.Tests.Editing
|
||||
BeatDivisor.Value = 1;
|
||||
|
||||
composer.EditorBeatmap.Difficulty.SliderMultiplier = 1;
|
||||
composer.EditorBeatmap.BeatmapInfo.DistanceSpacing = 1;
|
||||
composer.EditorBeatmap.ControlPointInfo.Clear();
|
||||
composer.EditorBeatmap.ControlPointInfo.Add(0, new TimingControlPoint { BeatLength = 1000 });
|
||||
});
|
||||
@ -89,15 +88,6 @@ namespace osu.Game.Tests.Editing
|
||||
});
|
||||
}
|
||||
|
||||
[TestCase(1)]
|
||||
[TestCase(2)]
|
||||
public void TestDistanceSpacingMultiplier(float multiplier)
|
||||
{
|
||||
AddStep($"set distance spacing = {multiplier}", () => composer.DistanceSpacingMultiplier.Value = multiplier);
|
||||
|
||||
assertSnapDistance(100 * multiplier);
|
||||
}
|
||||
|
||||
[TestCase(1)]
|
||||
[TestCase(2)]
|
||||
public void TestBeatDivisor(int divisor)
|
||||
|
Reference in New Issue
Block a user