osu/osu.Game.Tournament.Tests/TestCaseTeamOverview.cs

22 lines
647 B
C#
Raw Normal View History

2018-10-14 09:00:28 +00: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.Game.Tournament.Screens.TeamIntro;
namespace osu.Game.Tournament.Tests
{
public class TestCaseTeamIntro : LadderTestCase
{
public TestCaseTeamIntro()
{
var team1 = Ladder.Teams.First(t => t.Acronym == "USA");
var team2 = Ladder.Teams.First(t => t.Acronym == "JPN");
2018-10-14 09:00:28 +00:00
var round = Ladder.Groupings.First(g => g.Name == "Finals");
Add(new TeamIntroScreen(team1, team2, round));
}
}
}