1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-18 12:02:57 +08:00
osu-lazer/osu.Game.Tournament.Tests/TestCaseDrawings.cs
2018-09-21 18:18:28 +09:00

84 lines
2.4 KiB
C#

// 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.Collections.Generic;
using osu.Game.Tests.Visual;
using osu.Game.Tournament.Components;
using osu.Game.Tournament.Screens.Drawings;
using osu.Game.Tournament.Screens.Drawings.Components;
namespace osu.Game.Tournament.Tests
{
public class TestCaseDrawings : OsuTestCase
{
public TestCaseDrawings()
{
Add(new DrawingsScreen
{
TeamList = new TestTeamList(),
});
}
private class TestTeamList : ITeamList
{
public IEnumerable<TournamentTeam> Teams { get; } = new[]
{
new TournamentTeam
{
FlagName = "GB",
FullName = "United Kingdom",
Acronym = "UK"
},
new TournamentTeam
{
FlagName = "FR",
FullName = "France",
Acronym = "FRA"
},
new TournamentTeam
{
FlagName = "CN",
FullName = "China",
Acronym = "CHN"
},
new TournamentTeam
{
FlagName = "AU",
FullName = "Australia",
Acronym = "AUS"
},
new TournamentTeam
{
FlagName = "JP",
FullName = "Japan",
Acronym = "JPN"
},
new TournamentTeam
{
FlagName = "RO",
FullName = "Romania",
Acronym = "ROM"
},
new TournamentTeam
{
FlagName = "IT",
FullName = "Italy",
Acronym = "PIZZA"
},
new TournamentTeam
{
FlagName = "VE",
FullName = "Venezuela",
Acronym = "VNZ"
},
new TournamentTeam
{
FlagName = "US",
FullName = "United States of America",
Acronym = "USA"
},
};
}
}
}