osu/osu.Game.Tests
Bartłomiej Dach e45d456324
Fix `TestFriendScore` intermittently failing due to randomness
If `createRandomScore()` happened to randomly pick the highest total
score when called with `friend` as the sole argument, that particular
score would not be pink.

`GetScoreByUsername()` would arbitrarily pick the first score for the
user, so in this particular case where a friend had the number 1 score,
the test would wrongly fail.

Fix by checking whether any of the 3 added friend scores have received
the pink colour. Because there is more than 1 friend score in the test,
doing so ensures that at least one of those should eventually become
pink (because, obviously, you can't have two scores at number 1).
2023-09-21 21:12:44 +02:00
..
Audio
Beatmaps Merge pull request #24800 from sw1tchbl4d3r/invalid_bank 2023-09-19 22:28:34 +09:00
Chat Add failing test case for fake (but still incorrectly allowed) protocol 2023-09-18 09:19:12 +02:00
Collections/IO
Database Rename new flag and update xmldoc to match 2023-08-21 19:36:22 +09:00
Editing Rename `SliderVelocity` to `SliderVelocityMultiplier` to distinguish from `Velocity` 2023-09-06 19:01:08 +09:00
Extensions
Gameplay
Input
Localisation
Models
Mods
NonVisual
Online
OnlinePlay
Resources Merge pull request #24800 from sw1tchbl4d3r/invalid_bank 2023-09-19 22:28:34 +09:00
Rulesets
Scores/IO
ScrollAlgorithms
Skins
Testing
Utils
Visual Fix `TestFriendScore` intermittently failing due to randomness 2023-09-21 21:12:44 +02:00
ImportTest.cs
WaveformTestBeatmap.cs
osu.Game.Tests.csproj Update all dependencies (except for Moq) 2023-09-16 15:37:31 +09:00
tests.ruleset