parent
ca68a64297
commit
0164387e07
@ -0,0 +1,16 @@
|
|||||||
|
using Model;
|
||||||
|
using System;
|
||||||
|
using Xunit;
|
||||||
|
|
||||||
|
namespace Tests
|
||||||
|
{
|
||||||
|
public class PlayerTest
|
||||||
|
{
|
||||||
|
[Fact]
|
||||||
|
public void TestConstructor()
|
||||||
|
{
|
||||||
|
Player player = new Player("Alice");
|
||||||
|
Assert.Equal("Alice", player.Name);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue