sonar episode #899999
continuous-integration/drone/push Build is passing Details

test_old_branch
Jérémy Mouyon 11 months ago
parent a21fcfad9e
commit 4e3b12f2b9

@ -22,16 +22,9 @@ public class TestTileBag
[Fact] [Fact]
public void Test_AddTileInBag() public void Test_AddTileInBag()
{ {
Tile? t = null;
Tile tok = new(Shape.Club, Color.Green); Tile tok = new(Shape.Club, Color.Green);
TileBag bag = new TileBag(2); TileBag bag = new TileBag(2);
if (t != null && bag.AddTileInBag(t) == false)
{
Assert.True(bag.AddTileInBag(tok)); Assert.True(bag.AddTileInBag(tok));
}
} }
[Theory] [Theory]

Loading…
Cancel
Save