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.
19 lines
413 B
19 lines
413 B
using CoreLibrary;
|
|
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);
|
|
}
|
|
}
|
|
}
|