mirror of
https://github.com/ppy/osu
synced 2025-01-05 21:59:46 +00:00
Add failing test
This commit is contained in:
parent
d34834af05
commit
8506da725d
@ -104,6 +104,21 @@ namespace osu.Game.Tests.Visual.Ranking
|
||||
});
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestPPNotShownAsProvisionalIfClassicModIsPresentDueToLegacyScore()
|
||||
{
|
||||
AddStep("show example score", () =>
|
||||
{
|
||||
var score = TestResources.CreateTestScoreInfo(createTestBeatmap(new RealmUser()));
|
||||
score.PP = 400;
|
||||
score.Mods = score.Mods.Append(new OsuModClassic()).ToArray();
|
||||
score.IsLegacyScore = true;
|
||||
showPanel(score);
|
||||
});
|
||||
|
||||
AddAssert("pp display faded out", () => this.ChildrenOfType<PerformanceStatistic>().Single().Alpha == 1);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestWithDefaultDate()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user