mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 09:47:52 +08:00
Create catcher explicitly to make tests independent of ctor
This commit is contained in:
parent
54b0321581
commit
fbf3a09835
@ -62,6 +62,8 @@ namespace osu.Game.Rulesets.Catch.Tests
|
||||
[TestCase(false)]
|
||||
public void TestHitLighting(bool enable)
|
||||
{
|
||||
AddStep("create catcher", () => createCatcher(5));
|
||||
|
||||
AddStep("Toggle hit lighting", () => config.Set(OsuSetting.HitLighting, enable));
|
||||
AddStep("Catch fruit", () => catchFruit(new TestFruit(false)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user