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