From 2ba02416c22b9bcd0283b79e28dcb65a41f414e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Dach?= Date: Thu, 26 Oct 2023 09:14:59 +0200 Subject: [PATCH] Revert test changes fully to clean up diff --- .../Visual/Playlists/TestScenePlaylistsResultsScreen.cs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/osu.Game.Tests/Visual/Playlists/TestScenePlaylistsResultsScreen.cs b/osu.Game.Tests/Visual/Playlists/TestScenePlaylistsResultsScreen.cs index 4d82631fc9..cb422d8c06 100644 --- a/osu.Game.Tests/Visual/Playlists/TestScenePlaylistsResultsScreen.cs +++ b/osu.Game.Tests/Visual/Playlists/TestScenePlaylistsResultsScreen.cs @@ -262,10 +262,9 @@ namespace osu.Game.Tests.Visual.Playlists for (int i = 1; i <= scores_per_result; i++) { - int nextLowest = getNextLowestScoreId(); multiplayerUserScore.ScoresAround.Lower.Scores.Add(new MultiplayerScore { - ID = nextLowest, + ID = getNextLowestScoreId(), Accuracy = userScore.Accuracy, Passed = true, Rank = userScore.Rank, @@ -278,10 +277,9 @@ namespace osu.Game.Tests.Visual.Playlists }, }); - int nextHighest = getNextHighestScoreId(); multiplayerUserScore.ScoresAround.Higher.Scores.Add(new MultiplayerScore { - ID = nextHighest, + ID = getNextHighestScoreId(), Accuracy = userScore.Accuracy, Passed = true, Rank = userScore.Rank, @@ -311,10 +309,9 @@ namespace osu.Game.Tests.Visual.Playlists for (int i = 1; i <= scores_per_result; i++) { - int id = sort == "score_asc" ? getNextHighestScoreId() : getNextLowestScoreId(); result.Scores.Add(new MultiplayerScore { - ID = id, + ID = sort == "score_asc" ? getNextHighestScoreId() : getNextLowestScoreId(), Accuracy = 1, Passed = true, Rank = ScoreRank.X,