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.
22 lines
475 B
22 lines
475 B
using CoreLibrary.Core;
|
|
using CoreLibrary.Events;
|
|
using CoreLibrary.Joueurs;
|
|
using Xunit;
|
|
|
|
namespace UnitTesting
|
|
{
|
|
public class AjouterJoueurEventArgsUT
|
|
{
|
|
[Fact]
|
|
public void TestConstructeurValide()
|
|
{
|
|
Joueur monJoueur = new Joueur("Céleste", new Plateau(4, 12));
|
|
|
|
AjouterJoueursEventArgs evenement = new AjouterJoueursEventArgs(monJoueur);
|
|
|
|
Assert.Equal(monJoueur, evenement.Joueur);
|
|
}
|
|
|
|
}
|
|
}
|