Before changing Piece[,] to Dictionary<string,Piece>
This commit is contained in:
17
Gameboard.ShogiUI.xUnitTests/GameShould.cs
Normal file
17
Gameboard.ShogiUI.xUnitTests/GameShould.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using FluentAssertions;
|
||||
using Gameboard.ShogiUI.Sockets.ServiceModels.Socket.Types;
|
||||
using Xunit;
|
||||
|
||||
namespace Gameboard.ShogiUI.xUnitTests
|
||||
{
|
||||
public class GameShould
|
||||
{
|
||||
[Fact]
|
||||
public void DiscardNullPLayers()
|
||||
{
|
||||
var game = new Game("Test", "P1", null);
|
||||
|
||||
game.Players.Count.Should().Be(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user