// Copyright (c) 2007-2018 ppy Pty Ltd . // 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 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" }, }; } } }