18 lines
327 B
C#
18 lines
327 B
C#
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);
|
|
}
|
|
}
|
|
}
|