1
0
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:
Bartłomiej Dach 2020-07-16 20:14:57 +02:00
parent 54b0321581
commit fbf3a09835

View File

@ -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)
{