mirror of
https://github.com/osukey/osukey.git
synced 2025-05-02 20:27:27 +09:00
25 lines
672 B
C#
25 lines
672 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
using NUnit.Framework;
|
|
using osu.Game.Rulesets.Osu;
|
|
using osu.Game.Scoring;
|
|
using osu.Game.Screens.Ranking.Statistics;
|
|
|
|
namespace osu.Game.Tests.Visual.Ranking
|
|
{
|
|
public class TestSceneStatisticsPanel : OsuTestScene
|
|
{
|
|
[Test]
|
|
public void TestScore()
|
|
{
|
|
loadPanel(new TestScoreInfo(new OsuRuleset().RulesetInfo));
|
|
}
|
|
|
|
private void loadPanel(ScoreInfo score) => AddStep("load panel", () =>
|
|
{
|
|
Child = new StatisticsPanel(score);
|
|
});
|
|
}
|
|
}
|