Add test step to TestSceneRankingsTable

This commit is contained in:
Andrei Zavatski
2020-02-04 16:20:15 +03:00
parent 37992e99f9
commit f889f2435b
3 changed files with 21 additions and 6 deletions

View File

@ -30,7 +30,7 @@ namespace osu.Game.Users
public decimal? PP;
[JsonProperty(@"pp_rank")] // the API sometimes only returns this value in condensed user responses
private int rank
private int? rank
{
set => Ranks.Global = value;
}
@ -71,13 +71,13 @@ namespace osu.Game.Users
public struct Grades
{
[JsonProperty(@"ssh")]
public int SSPlus;
public int? SSPlus;
[JsonProperty(@"ss")]
public int SS;
[JsonProperty(@"sh")]
public int SPlus;
public int? SPlus;
[JsonProperty(@"s")]
public int S;
@ -85,7 +85,7 @@ namespace osu.Game.Users
[JsonProperty(@"a")]
public int A;
public int this[ScoreRank rank]
public int? this[ScoreRank rank]
{
get
{