1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 11:23:00 +08:00

Rename test and fix incorrect layout

This commit is contained in:
Dean Herbert 2021-10-26 11:30:26 +09:00
parent c9a2c6c031
commit e7b19cb724
2 changed files with 6 additions and 7 deletions

View File

@ -118,7 +118,7 @@ namespace osu.Game.Rulesets.Osu.Tests.Mods
}); });
[Test] [Test]
public void OuendanTwoHidden() => CreateModTest(new ModTestData public void TestApproachCirclesOnly() => CreateModTest(new ModTestData
{ {
Mod = new OsuModHidden { OnlyFadeApproachCircles = { Value = true } }, Mod = new OsuModHidden { OnlyFadeApproachCircles = { Value = true } },
Autoplay = true, Autoplay = true,
@ -129,22 +129,22 @@ namespace osu.Game.Rulesets.Osu.Tests.Mods
new HitCircle new HitCircle
{ {
StartTime = 1000, StartTime = 1000,
Position = new Vector2(206,142) Position = new Vector2(206, 142)
}, },
new HitCircle new HitCircle
{ {
StartTime = 2000, StartTime = 2000,
Position = new Vector2(306,142) Position = new Vector2(306, 142)
}, },
new Slider new Slider
{ {
StartTime = 3000, StartTime = 3000,
Position = new Vector2(156,242), Position = new Vector2(156, 242),
Path = new SliderPath(PathType.Linear, new[] { Vector2.Zero, new Vector2(200,0), }) Path = new SliderPath(PathType.Linear, new[] { Vector2.Zero, new Vector2(200, 0), })
}, },
new Spinner new Spinner
{ {
Position = new Vector2(256,192), Position = new Vector2(256, 192),
StartTime = 7000, StartTime = 7000,
EndTime = 9000 EndTime = 9000
} }

View File

@ -15,7 +15,6 @@ using osu.Game.Rulesets.Osu.Objects.Drawables;
using osu.Game.Rulesets.Osu.Objects; using osu.Game.Rulesets.Osu.Objects;
using osu.Game.Rulesets.Osu.Skinning; using osu.Game.Rulesets.Osu.Skinning;
namespace osu.Game.Rulesets.Osu.Mods namespace osu.Game.Rulesets.Osu.Mods
{ {
public class OsuModHidden : ModHidden, IHidesApproachCircles public class OsuModHidden : ModHidden, IHidesApproachCircles