mirror of
https://github.com/ppy/osu.git
synced 2024-09-21 15:27:24 +08:00
Remove pointless test
This commit is contained in:
parent
1b50d1011a
commit
51f9377e3d
@ -1,33 +0,0 @@
|
|||||||
// 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.
|
|
||||||
|
|
||||||
using NUnit.Framework;
|
|
||||||
using osu.Framework.Utils;
|
|
||||||
using osu.Game.Tests.Visual;
|
|
||||||
|
|
||||||
namespace osu.Game.Rulesets.Taiko.Tests.Editor
|
|
||||||
{
|
|
||||||
public partial class TestSceneTaikoEditorSaving : EditorSavingTestScene
|
|
||||||
{
|
|
||||||
protected override Ruleset CreateRuleset() => new TaikoRuleset();
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void TestTaikoSliderMultiplier()
|
|
||||||
{
|
|
||||||
AddStep("Set slider multiplier", () => EditorBeatmap.Difficulty.SliderMultiplier = 2);
|
|
||||||
|
|
||||||
SaveEditor();
|
|
||||||
|
|
||||||
AddAssert("Beatmap has correct slider multiplier", assertTaikoSliderMulitplier);
|
|
||||||
|
|
||||||
ReloadEditorToSameBeatmap();
|
|
||||||
|
|
||||||
AddAssert("Beatmap still has correct slider multiplier", assertTaikoSliderMulitplier);
|
|
||||||
|
|
||||||
bool assertTaikoSliderMulitplier()
|
|
||||||
{
|
|
||||||
return Precision.AlmostEquals(EditorBeatmap.Difficulty.SliderMultiplier, 2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user