mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 03:42:57 +08:00
Fix tests which were relying on SliderMultiplier==1
This commit is contained in:
parent
f9dd5bd828
commit
79826dee58
@ -63,7 +63,11 @@ namespace osu.Game.Rulesets.Catch.Tests
|
||||
BeatmapInfo =
|
||||
{
|
||||
Ruleset = ruleset,
|
||||
Difficulty = new BeatmapDifficulty { CircleSize = 3.6f }
|
||||
Difficulty = new BeatmapDifficulty
|
||||
{
|
||||
CircleSize = 3.6f,
|
||||
SliderMultiplier = 1,
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -507,7 +507,11 @@ namespace osu.Game.Rulesets.Osu.Tests
|
||||
HitObjects = { slider },
|
||||
BeatmapInfo =
|
||||
{
|
||||
Difficulty = new BeatmapDifficulty { SliderTickRate = tickRate ?? 3 },
|
||||
Difficulty = new BeatmapDifficulty
|
||||
{
|
||||
SliderTickRate = tickRate ?? 3,
|
||||
SliderMultiplier = 1,
|
||||
},
|
||||
Ruleset = new OsuRuleset().RulesetInfo,
|
||||
},
|
||||
ControlPointInfo = cpi,
|
||||
|
@ -251,7 +251,17 @@ namespace osu.Game.Tests.Visual.Gameplay
|
||||
/// <returns>The <see cref="IBeatmap"/>.</returns>
|
||||
private IBeatmap createBeatmap(Func<int, TestHitObject> createAction = null)
|
||||
{
|
||||
var beatmap = new Beatmap<TestHitObject> { BeatmapInfo = { Ruleset = new OsuRuleset().RulesetInfo } };
|
||||
var beatmap = new Beatmap<TestHitObject>
|
||||
{
|
||||
BeatmapInfo =
|
||||
{
|
||||
Difficulty = new BeatmapDifficulty
|
||||
{
|
||||
SliderMultiplier = 1
|
||||
},
|
||||
Ruleset = new OsuRuleset().RulesetInfo
|
||||
}
|
||||
};
|
||||
|
||||
for (int i = 0; i < 10; i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user