diff --git a/server/tests/Vanguard.Rules.Tests/GameEngineTests.cs b/server/tests/Vanguard.Rules.Tests/GameEngineTests.cs index 41ab589..b95efe6 100644 --- a/server/tests/Vanguard.Rules.Tests/GameEngineTests.cs +++ b/server/tests/Vanguard.Rules.Tests/GameEngineTests.cs @@ -864,15 +864,17 @@ public class GameEngineTests "круг", StringComparison.OrdinalIgnoreCase) < 0) { var cardIndex = engine.State.PendingChoice.Options + .ToList() .FindIndex(option => option.Label.Contains("Flogal")); - Assert.GreaterOrEqual(cardIndex, 0); + Assert.True(cardIndex >= 0); Assert.True(engine.Execute(new ChooseCommand(cardIndex)).Accepted); } Assert.NotNull(engine.State.PendingChoice); var circleIndex = engine.State.PendingChoice!.Options + .ToList() .FindIndex(option => option.Slot == 2); - Assert.GreaterOrEqual(circleIndex, 0); + Assert.True(circleIndex >= 0); Assert.True(engine.Execute(new ChooseCommand(circleIndex)).Accepted); Assert.Equal(