mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Create catcher explicitly to make tests independent of ctor
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user