Skip to content

Commit

Permalink
Check
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepyyapril committed Dec 23, 2024
1 parent 5f6701b commit df49cff
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions Content.IntegrationTests/Pair/TestPair.Recycle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -200,16 +200,7 @@ public void ValidateSettings(PoolSettings settings)
Assert.That(sPlayer.Sessions.Count(), Is.EqualTo(1));
var session = sPlayer.Sessions.Single();
Assert.That(cPlayer.LocalSession?.UserId, Is.EqualTo(session.UserId));

if (!ticker.PlayerGameStatuses.ContainsKey(session.UserId))
{
var debugMsg = "Contains:";

foreach (var (id, playerStatus) in ticker.PlayerGameStatuses)
debugMsg += $"\n{id}";

Assert.Fail(debugMsg);
}
Assert.That(sPlayer.Sessions.Count, Is.EqualTo(ticker.PlayerGameStatuses.Count));

if (ticker.DummyTicker)
return;
Expand Down

0 comments on commit df49cff

Please sign in to comment.