1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 00:47:24 +08:00
osu-lazer/osu.Game.Tournament.Tests/TestCaseMapPool.cs

22 lines
594 B
C#
Raw Normal View History

2018-10-14 17:09:22 +08:00
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Linq;
using osu.Framework.Allocation;
using osu.Game.Tournament.Screens.MapPool;
2018-10-14 17:09:22 +08:00
namespace osu.Game.Tournament.Tests
{
public class TestCaseMapPool : LadderTestCase
{
[BackgroundDependencyLoader]
private void load()
2018-10-14 17:09:22 +08:00
{
var round = Ladder.Groupings.FirstOrDefault(g => g.Name == "Finals");
2018-10-14 17:09:22 +08:00
if (round != null)
Add(new MapPoolScreen(round));
2018-10-14 17:09:22 +08:00
}
}
}