You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastermind/Sources/UnitTesting/JoueurUT.cs

20 lines
427 B

using CoreLibrary.Core;
using CoreLibrary.Joueurs;
using Xunit;
namespace UnitTesting
{
public class JoueurUT
{
[Fact]
public void TestConstructeurValide()
{
Plateau plateau = new Plateau(4, 10);
Joueur joueur = new Joueur("MonJoueur", plateau);
Assert.Equal("MonJoueur", joueur.Nom);
Assert.Equal(plateau, joueur.Plateau);
}
}
}