2018-10-14 17:00:28 +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
|
|
|
|
|
2018-10-14 04:19:50 +08:00
|
|
|
using System.Linq;
|
2018-10-16 14:20:12 +08:00
|
|
|
using osu.Framework.Allocation;
|
2018-10-14 04:19:50 +08:00
|
|
|
using osu.Game.Tournament.Screens.TeamIntro;
|
|
|
|
|
|
|
|
namespace osu.Game.Tournament.Tests
|
|
|
|
{
|
|
|
|
public class TestCaseTeamIntro : LadderTestCase
|
|
|
|
{
|
2018-10-16 14:20:12 +08:00
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
private void load()
|
2018-10-14 04:19:50 +08:00
|
|
|
{
|
|
|
|
var team1 = Ladder.Teams.First(t => t.Acronym == "USA");
|
|
|
|
var team2 = Ladder.Teams.First(t => t.Acronym == "JPN");
|
|
|
|
|
2018-10-14 17:00:28 +08:00
|
|
|
var round = Ladder.Groupings.First(g => g.Name == "Finals");
|
2018-10-14 04:19:50 +08:00
|
|
|
|
|
|
|
Add(new TeamIntroScreen(team1, team2, round));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|